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

Unified Diff: content/renderer/render_widget.cc

Issue 10095021: Notify WebWidget when its compositor surface is ready to use (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « no previous file | content/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index 3ef0b9f8bdfbfab82eb5205acc459a3da068672b..6ce1ae9e086457954c7fe7d9367b62044d4fd346 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -186,6 +186,10 @@ void RenderWidget::CompleteInit(gfx::NativeViewId parent_hwnd) {
host_window_ = parent_hwnd;
host_window_set_ = true;
+#if WEBWIDGET_HAS_SETCOMPOSITORSURFACEREADY
+ if (webwidget_)
+ webwidget_->setCompositorSurfaceReady();
darin (slow to review) 2012/04/19 05:08:33 nit: indentation does it make sense to call compo
+#endif
DoDeferredUpdate();
Send(new ViewHostMsg_RenderViewReady(routing_id_));
« no previous file with comments | « no previous file | content/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698