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

Unified Diff: chrome/browser/plugins/plugin_observer.cc

Issue 10993064: Make using WebContentsUserData simpler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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
Index: chrome/browser/plugins/plugin_observer.cc
diff --git a/chrome/browser/plugins/plugin_observer.cc b/chrome/browser/plugins/plugin_observer.cc
index 955735da50290c2f37539ec78cbe3c15211bf3b4..395678df4494c80fa792e70e73e95b737c84ec71 100644
--- a/chrome/browser/plugins/plugin_observer.cc
+++ b/chrome/browser/plugins/plugin_observer.cc
@@ -46,7 +46,7 @@ using content::PluginService;
using content::Referrer;
using content::WebContents;
-int PluginObserver::kUserDataKey;
+DEFINE_WEB_CONTENTS_USER_DATA_KEY(PluginObserver)
namespace {

Powered by Google App Engine
This is Rietveld 408576698