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

Unified Diff: chrome/browser/automation/automation_tab_helper.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/automation/automation_tab_helper.cc
diff --git a/chrome/browser/automation/automation_tab_helper.cc b/chrome/browser/automation/automation_tab_helper.cc
index a77836e8fdd85829eee2ec718380802a4cdef1f9..25d2c9b760d47d1b4e3ebd8678fda51d07c65059 100644
--- a/chrome/browser/automation/automation_tab_helper.cc
+++ b/chrome/browser/automation/automation_tab_helper.cc
@@ -14,7 +14,7 @@
using content::WebContents;
-int AutomationTabHelper::kUserDataKey;
+DEFINE_WEB_CONTENTS_USER_DATA_KEY(AutomationTabHelper)
TabEventObserver::TabEventObserver() { }

Powered by Google App Engine
This is Rietveld 408576698