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

Unified Diff: chrome/browser/chromeos/notifications/balloon_view.cc

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 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/chromeos/notifications/balloon_view.cc
diff --git a/chrome/browser/chromeos/notifications/balloon_view.cc b/chrome/browser/chromeos/notifications/balloon_view.cc
index 7abc8e3e64710d43e84358b4f0bd64e10ad44ec8..337c61e9e5a9b8136ba4eeb316054be82b7a835f 100644
--- a/chrome/browser/chromeos/notifications/balloon_view.cc
+++ b/chrome/browser/chromeos/notifications/balloon_view.cc
@@ -275,7 +275,7 @@ void BalloonViewImpl::Layout() {
html_contents_->view()->SetBounds(0, 0, size.width(), size.height());
if (html_contents_->web_contents()) {
RenderWidgetHostView* view =
- html_contents_->web_contents()->GetRenderViewHost()->view();
+ html_contents_->web_contents()->GetRenderViewHost()->GetView();
if (view)
view->SetSize(size);
}
@@ -366,7 +366,7 @@ void BalloonViewImpl::DenyPermission() {
gfx::NativeView BalloonViewImpl::GetParentNativeView() {
RenderWidgetHostView* view =
- html_contents_->web_contents()->GetRenderViewHost()->view();
+ html_contents_->web_contents()->GetRenderViewHost()->GetView();
DCHECK(view);
return view->GetNativeView();
}

Powered by Google App Engine
This is Rietveld 408576698