Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginTabBase.cpp

Issue 11043057: First run page triggering (Closed)
Patch Set: Injecting an object for localization Created July 20, 2013, 10:41 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/plugin/PluginTabBase.cpp
===================================================================
--- a/src/plugin/PluginTabBase.cpp
+++ b/src/plugin/PluginTabBase.cpp
@@ -133,8 +133,9 @@
CString log;
log.Format(L"Current URL: %s, settings URL: %s", url, UserSettingsFileUrl().c_str());
- DEBUG_ERROR_LOG(0, 0, 0, log);
- if (0 == url.CompareNoCase(CString(UserSettingsFileUrl().c_str())))
+ DEBUG_GENERAL(log);
+ if (0 == url.CompareNoCase(CString(UserSettingsFileUrl().c_str())) ||
+ 0 == url.CompareNoCase(CString(UserSettingsFirstRunPageUrl().c_str())) )
{
CComPtr<IDispatch> pDocDispatch;
browser->get_Document(&pDocDispatch);

Powered by Google App Engine
This is Rietveld