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

Unified Diff: content/renderer/browser_plugin/browser_plugin.cc

Issue 19331002: Associate an id with the output surface to handle lost contexts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android, tests Created 7 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/browser_plugin/browser_plugin.cc
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc
index e2e9ee9c8ad5b7d3fe7c3fde9ce34e313eddcb02..476af9aea890f557780b4c3c81eab132dbc02458 100644
--- a/content/renderer/browser_plugin/browser_plugin.cc
+++ b/content/renderer/browser_plugin/browser_plugin.cc
@@ -485,7 +485,8 @@ void BrowserPlugin::OnCompositorFrameSwapped(const IPC::Message& message) {
EnableCompositing(true);
compositing_helper_->OnCompositorFrameSwapped(frame.Pass(),
param.c /* route_id */,
- param.d /* host_id */);
+ param.d /* output_surface_id */,
+ param.e /* host_id */);
}
void BrowserPlugin::OnGuestContentWindowReady(int guest_instance_id,

Powered by Google App Engine
This is Rietveld 408576698