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

Unified Diff: chrome/browser/ui/views/extensions/native_app_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/extensions/native_app_window_views.cc
diff --git a/chrome/browser/ui/views/extensions/native_app_window_views.cc b/chrome/browser/ui/views/extensions/native_app_window_views.cc
index e03fb9bcb0f14cac52dc8ad80efd84aa72027cc1..a0e30a4b9dd0e88fe21a55a8c41dc91dd833043f 100644
--- a/chrome/browser/ui/views/extensions/native_app_window_views.cc
+++ b/chrome/browser/ui/views/extensions/native_app_window_views.cc
@@ -327,7 +327,8 @@ void NativeAppWindowViews::OnViewWasResized() {
path.lineTo(0, height - radius - 1);
path.close();
}
- SetWindowRgn(web_contents()->GetNativeView(), path.CreateNativeRegion(), 1);
+ SetWindowRgn(web_contents()->GetView()->GetNativeView(),
+ path.CreateNativeRegion(), 1);
SkRegion* rgn = new SkRegion;
if (!window_->IsFullscreen()) {
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_popup.cc ('k') | chrome/browser/ui/views/external_protocol_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698