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

Unified Diff: content/renderer/render_view_impl.cc

Issue 10735010: 3D Compositing in <browser>, first draft. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 821ccd0eb36fe245bfcb663b7923573ad64fea6d..ba14114182385f5e4c714dc5ac1b7a849334cd3d 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2221,6 +2221,7 @@ WebPlugin* RenderViewImpl::createPlugin(WebFrame* frame,
this, frame, params, &plugin)) {
return plugin;
}
+
// Check only that the browser plugin isn't disabled. The client layer
// may have provided additional selective enabling of the plugin, and
// so we can't assume that 'enabled' is the only state where it should
@@ -4875,6 +4876,7 @@ void RenderViewImpl::OnResize(const gfx::Size& new_size,
void RenderViewImpl::WillInitiatePaint() {
// Notify the pepper plugins that we're about to paint.
pepper_delegate_.ViewWillInitiatePaint();
+ RenderThreadImpl::current()->browser_plugin_manager()->WillInitiatePaint();
scshunt 2012/07/06 16:39:03 This is where the call is added.
}
void RenderViewImpl::DidInitiatePaint() {

Powered by Google App Engine
This is Rietveld 408576698