summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/plugins')
-rw-r--r--chrome/browser/plugins/plugin_observer.cc2
-rw-r--r--chrome/browser/plugins/plugin_observer.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/plugins/plugin_observer.cc b/chrome/browser/plugins/plugin_observer.cc
index 395678d..955735d 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;
-DEFINE_WEB_CONTENTS_USER_DATA_KEY(PluginObserver)
+int PluginObserver::kUserDataKey;
namespace {
diff --git a/chrome/browser/plugins/plugin_observer.h b/chrome/browser/plugins/plugin_observer.h
index 2f2a2be..a0ae687 100644
--- a/chrome/browser/plugins/plugin_observer.h
+++ b/chrome/browser/plugins/plugin_observer.h
@@ -39,6 +39,7 @@ class PluginObserver : public content::WebContentsObserver,
private:
explicit PluginObserver(content::WebContents* web_contents);
+ static int kUserDataKey;
friend class WebContentsUserData<PluginObserver>;
class PluginPlaceholderHost;