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

Unified Diff: chrome/browser/printing/print_view_manager.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/printing/print_view_manager.cc
diff --git a/chrome/browser/printing/print_view_manager.cc b/chrome/browser/printing/print_view_manager.cc
index 42621a37eb1d54c6ddd62d2c6eef587b3a9285b9..ed57b697becb7cdd35918b10e44632b5a6684447 100644
--- a/chrome/browser/printing/print_view_manager.cc
+++ b/chrome/browser/printing/print_view_manager.cc
@@ -45,7 +45,7 @@
using base::TimeDelta;
using content::BrowserThread;
-int printing::PrintViewManager::kUserDataKey;
+DEFINE_WEB_CONTENTS_USER_DATA_KEY(printing::PrintViewManager)
namespace {

Powered by Google App Engine
This is Rietveld 408576698