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

Unified Diff: chrome/browser/external_protocol/external_protocol_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/external_protocol/external_protocol_observer.cc
diff --git a/chrome/browser/external_protocol/external_protocol_observer.cc b/chrome/browser/external_protocol/external_protocol_observer.cc
index e13e121c478380497c534de3303576424a2db197..082dc17ff3af84db1267aee4229f28f6ae9bfd1e 100644
--- a/chrome/browser/external_protocol/external_protocol_observer.cc
+++ b/chrome/browser/external_protocol/external_protocol_observer.cc
@@ -8,7 +8,7 @@
using content::WebContents;
-int ExternalProtocolObserver::kUserDataKey;
+DEFINE_WEB_CONTENTS_USER_DATA_KEY(ExternalProtocolObserver)
ExternalProtocolObserver::ExternalProtocolObserver(WebContents* web_contents)
: content::WebContentsObserver(web_contents) {

Powered by Google App Engine
This is Rietveld 408576698