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

Unified Diff: chrome/browser/ui/gtk/web_dialog_gtk.cc

Issue 10831407: Kill PropertyBag, switch WebContents to SupportsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: works Created 8 years, 4 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/gtk/web_dialog_gtk.cc
diff --git a/chrome/browser/ui/gtk/web_dialog_gtk.cc b/chrome/browser/ui/gtk/web_dialog_gtk.cc
index 409c35e0618f5ce6f9b8a03ca2ed3ff50068022e..cd796acc17f34245b4621aa8c145a6244a597039 100644
--- a/chrome/browser/ui/gtk/web_dialog_gtk.cc
+++ b/chrome/browser/ui/gtk/web_dialog_gtk.cc
@@ -6,7 +6,6 @@
#include <gtk/gtk.h>
-#include "base/property_bag.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/browser/ui/gtk/gtk_util.h"
@@ -211,8 +210,7 @@ gfx::NativeWindow WebDialogGtk::InitDialog() {
// This must be done before loading the page; see the comments in
// WebDialogUI.
- WebDialogUI::GetPropertyAccessor().SetProperty(
- tab_->web_contents()->GetPropertyBag(), this);
+ WebDialogUI::SetDelegate(tab_->web_contents(), this);
tab_->web_contents()->GetController().LoadURL(
GetDialogContentURL(),

Powered by Google App Engine
This is Rietveld 408576698