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

Unified Diff: content/common/browser_plugin/browser_plugin_messages.h

Issue 12440005: Use gpu::Mailbox in IPCs instead of std::string (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/common/browser_plugin/browser_plugin_messages.h
diff --git a/content/common/browser_plugin/browser_plugin_messages.h b/content/common/browser_plugin/browser_plugin_messages.h
index dd8e2b21babd2840909e1dfbcb0b490485a5324c..fb7e331120bc55ee32e316754028448fa578ccf3 100644
--- a/content/common/browser_plugin/browser_plugin_messages.h
+++ b/content/common/browser_plugin/browser_plugin_messages.h
@@ -14,6 +14,7 @@
#include "content/common/content_export.h"
#include "content/common/content_param_traits.h"
#include "content/public/common/common_param_traits.h"
+#include "gpu/command_buffer/common/mailbox.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_message_utils.h"
@@ -207,7 +208,7 @@ IPC_MESSAGE_ROUTED5(BrowserPluginHostMsg_BuffersSwappedACK,
int /* instance_id */,
int /* route_id */,
int /* gpu_host_id */,
- std::string /* mailbox_name */,
+ gpu::Mailbox /* mailbox_name */,
uint32 /* sync_point */)
// When a BrowserPlugin has been removed from the embedder's DOM, it informs
@@ -384,7 +385,7 @@ IPC_MESSAGE_CONTROL2(BrowserPluginMsg_UpdatedName,
IPC_MESSAGE_CONTROL5(BrowserPluginMsg_BuffersSwapped,
int /* instance_id */,
gfx::Size /* size */,
- std::string /* mailbox_name */,
+ gpu::Mailbox /* mailbox_name */,
int /* route_id */,
int /* gpu_host_id */)

Powered by Google App Engine
This is Rietveld 408576698