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

Unified Diff: chrome/browser/ui/pdf/pdf_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/ui/pdf/pdf_tab_helper.cc
diff --git a/chrome/browser/ui/pdf/pdf_tab_helper.cc b/chrome/browser/ui/pdf/pdf_tab_helper.cc
index 5b4ad47778daeca0d900f72737b98431bbeac6fa..161a2e9dc24df69318c175ead66f20b7d6b31da5 100644
--- a/chrome/browser/ui/pdf/pdf_tab_helper.cc
+++ b/chrome/browser/ui/pdf/pdf_tab_helper.cc
@@ -13,7 +13,7 @@
#include "chrome/common/render_messages.h"
#include "content/public/browser/navigation_details.h"
-int PDFTabHelper::kUserDataKey;
+DEFINE_WEB_CONTENTS_USER_DATA_KEY(PDFTabHelper)
PDFTabHelper::PDFTabHelper(content::WebContents* web_contents)
: content::WebContentsObserver(web_contents) {

Powered by Google App Engine
This is Rietveld 408576698