Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Unified Diff: third_party/WebKit/WebKit/chromium/src/ChromiumBridge.cpp

Issue 39316: It doesn't look like initialize() is getting called properly, since webKitCli... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/WebKit/chromium/src/ChromiumBridge.cpp
===================================================================
--- third_party/WebKit/WebKit/chromium/src/ChromiumBridge.cpp (revision 11209)
+++ third_party/WebKit/WebKit/chromium/src/ChromiumBridge.cpp (working copy)
@@ -212,11 +212,15 @@
void ChromiumBridge::decrementStatsCounter(const char* name)
{
+ if (!webKitClient())
+ return; // TODO(eroman): temp hack!
webKitClient()->decrementStatsCounter(name);
}
void ChromiumBridge::incrementStatsCounter(const char* name)
{
+ if (!webKitClient())
+ return; // TODO(eroman): temp hack!
webKitClient()->incrementStatsCounter(name);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698