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

Unified Diff: ui/views/controls/webview/web_dialog_view.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: ui/views/controls/webview/web_dialog_view.cc
diff --git a/ui/views/controls/webview/web_dialog_view.cc b/ui/views/controls/webview/web_dialog_view.cc
index 6e1d24a113fa30016e86520a09fb99702d5372c7..c3ba4039563aaff1da3106d12e5a26f1a0c6dfa3 100644
--- a/ui/views/controls/webview/web_dialog_view.cc
+++ b/ui/views/controls/webview/web_dialog_view.cc
@@ -6,7 +6,6 @@
#include <vector>
-#include "base/property_bag.h"
#include "base/utf_string_conversions.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/native_web_keyboard_event.h"
@@ -308,8 +307,7 @@ void WebDialogView::InitDialog() {
// Set the delegate. This must be done before loading the page. See
// the comment above WebDialogUI in its header file for why.
- WebDialogUI::GetPropertyAccessor().SetProperty(
- web_contents->GetPropertyBag(), this);
+ WebDialogUI::SetDelegate(web_contents, this);
if (delegate_) {
gfx::Size out;

Powered by Google App Engine
This is Rietveld 408576698