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

Unified Diff: chrome/browser/ui/zoom/zoom_controller.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/ui/zoom/zoom_controller.cc
diff --git a/chrome/browser/ui/zoom/zoom_controller.cc b/chrome/browser/ui/zoom/zoom_controller.cc
index 8bb849465ca150e15ad547212daed04da4f13185..66ba5ee0c28367a78c80820e7291dc9978347163 100644
--- a/chrome/browser/ui/zoom/zoom_controller.cc
+++ b/chrome/browser/ui/zoom/zoom_controller.cc
@@ -19,7 +19,7 @@
#include "grit/theme_resources.h"
#include "net/base/net_util.h"
-int ZoomController::kUserDataKey;
+DEFINE_WEB_CONTENTS_USER_DATA_KEY(ZoomController)
ZoomController::ZoomController(content::WebContents* web_contents)
: content::WebContentsObserver(web_contents),
« chrome/browser/common/web_contents_user_data.h ('K') | « chrome/browser/ui/zoom/zoom_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698