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

Unified Diff: content/renderer/browser_plugin/browser_plugin_compositing_helper.h

Issue 12612005: Revert 186627 (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/renderer/browser_plugin/browser_plugin_compositing_helper.h
===================================================================
--- content/renderer/browser_plugin/browser_plugin_compositing_helper.h (revision 186756)
+++ content/renderer/browser_plugin/browser_plugin_compositing_helper.h (working copy)
@@ -17,10 +17,6 @@
class TextureLayer;
}
-namespace gpu {
-struct Mailbox;
-}
-
namespace WebKit {
class WebPluginContainer;
class WebLayer;
@@ -40,7 +36,7 @@
void EnableCompositing(bool);
void OnContainerDestroy();
void OnBuffersSwapped(const gfx::Size& size,
- const gpu::Mailbox& mailbox_name,
+ const std::string& mailbox_name,
int gpu_route_id,
int gpu_host_id,
float device_scale_factor);
@@ -50,9 +46,9 @@
friend class base::RefCounted<BrowserPluginCompositingHelper>;
private:
~BrowserPluginCompositingHelper();
- void FreeMailboxMemory(const gpu::Mailbox& mailbox_name,
+ void FreeMailboxMemory(const std::string& mailbox_name,
unsigned sync_point);
- void MailboxReleased(const gpu::Mailbox& mailbox_name,
+ void MailboxReleased(const std::string& mailbox_name,
int gpu_route_id,
int gpu_host_id,
unsigned sync_point);

Powered by Google App Engine
This is Rietveld 408576698