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

Unified Diff: content/browser/renderer_host/render_widget_host_mac.cc

Issue 8625003: Revert 111040 - Reland 110355 - Use shared D3D9 texture to transport the compositor's backing buf... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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/renderer_host/render_widget_host_mac.cc
===================================================================
--- content/browser/renderer_host/render_widget_host_mac.cc (revision 111041)
+++ content/browser/renderer_host/render_widget_host_mac.cc (working copy)
@@ -4,7 +4,6 @@
#include "content/browser/renderer_host/render_widget_host.h"
#include "content/browser/renderer_host/render_widget_host_view.h"
-#include "content/common/gpu/gpu_messages.h"
void RenderWidgetHost::OnMsgPluginFocusChanged(bool focused, int plugin_id) {
if (view_)
@@ -65,9 +64,7 @@
// This code path could be updated to implement flow control for
// updating of accelerated plugins as well. However, if we add support
// for composited plugins then this is not necessary.
- GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params params;
- params.window = window;
- params.surface_id = surface_id;
- view_->AcceleratedSurfaceBuffersSwapped(params, 0);
+ view_->AcceleratedSurfaceBuffersSwapped(window, surface_id,
+ 0, 0, 0);
}
}
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.cc ('k') | content/browser/renderer_host/render_widget_host_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698