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

Unified Diff: trunk/src/content/browser/browser_plugin/browser_plugin_guest.cc

Issue 163433008: Revert 251207 "Use gpu::Mailbox instead of std:string in IPCs" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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: trunk/src/content/browser/browser_plugin/browser_plugin_guest.cc
===================================================================
--- trunk/src/content/browser/browser_plugin/browser_plugin_guest.cc (revision 251280)
+++ trunk/src/content/browser/browser_plugin/browser_plugin_guest.cc (working copy)
@@ -1157,10 +1157,10 @@
void BrowserPluginGuest::AcknowledgeBufferPresent(
int route_id,
int gpu_host_id,
- const gpu::Mailbox& mailbox,
+ const std::string& mailbox_name,
uint32 sync_point) {
AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
- ack_params.mailbox = mailbox;
+ ack_params.mailbox_name = mailbox_name;
ack_params.sync_point = sync_point;
RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
gpu_host_id,
@@ -1610,7 +1610,7 @@
int instance_id,
const FrameHostMsg_BuffersSwappedACK_Params& params) {
AcknowledgeBufferPresent(params.gpu_route_id, params.gpu_host_id,
- params.mailbox, params.sync_point);
+ params.mailbox_name, params.sync_point);
// This is only relevant on MACOSX and WIN when threaded compositing
// is not enabled. In threaded mode, above ACK is sufficient.

Powered by Google App Engine
This is Rietveld 408576698