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

Unified Diff: chrome/browser/ui/views/constrained_window_views.cc

Issue 12334073: Remove WebContents methods that duplicate WebContentsView methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/views/constrained_window_views.cc
diff --git a/chrome/browser/ui/views/constrained_window_views.cc b/chrome/browser/ui/views/constrained_window_views.cc
index 540fa478c299e14c0311c51ed3333da18797a5ac..0b21d9605066c6fea8d7c1e757b11ecc158f8beb 100644
--- a/chrome/browser/ui/views/constrained_window_views.cc
+++ b/chrome/browser/ui/views/constrained_window_views.cc
@@ -622,7 +622,7 @@ ConstrainedWindowViews* ConstrainedWindowViews::Create(
WebContentsModalDialogManager* manager =
WebContentsModalDialogManager::FromWebContents(web_contents);
ConstrainedWindowViews* dialog = new ConstrainedWindowViews(
- web_contents->GetNativeView(),
+ web_contents->GetView()->GetNativeView(),
web_contents->GetBrowserContext()->IsOffTheRecord(),
widget_delegate);
manager->AddDialog(dialog->GetNativeView());
« no previous file with comments | « chrome/browser/ui/views/color_chooser_aura.cc ('k') | chrome/browser/ui/views/download/download_started_animation_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698