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

Unified Diff: content/browser/web_contents/web_contents_view_android.cc

Issue 10828356: Very basic Android browser-side compositing support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: content/browser/web_contents/web_contents_view_android.cc
diff --git a/content/browser/web_contents/web_contents_view_android.cc b/content/browser/web_contents/web_contents_view_android.cc
index fbd6637716fa7db42ce100a53894084b37ebde68..a21111b7bfbc590a9216f52bc3fe465eb608195f 100644
--- a/content/browser/web_contents/web_contents_view_android.cc
+++ b/content/browser/web_contents/web_contents_view_android.cc
@@ -66,7 +66,10 @@ RenderWidgetHostView* WebContentsViewAndroid::CreateViewForWidget(
// order to paint it. See ContentView::GetRenderWidgetHostViewAndroid for an
// example of how this is achieved for InterstitialPages.
RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(render_widget_host);
- return new RenderWidgetHostViewAndroid(rwhi, content_view_core_);
+ RenderWidgetHostView* view = new RenderWidgetHostViewAndroid(
+ rwhi, content_view_core_);
+ view->Show();
klobag.chromium 2012/08/22 07:01:19 Should we only call Show if content_view_core_ is
no sievers 2012/08/22 21:17:40 This eliminates a little diff vs. downstream, wher
+ return view;
}
gfx::NativeView WebContentsViewAndroid::GetNativeView() const {

Powered by Google App Engine
This is Rietveld 408576698