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

Unified Diff: content/renderer/pepper/pepper_graphics_2d_host.h

Issue 23648014: cc: Move TextureMailbox::ReleaseCallback to SingleReleaseCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: releasecallback: SingleReleaseCallback Created 7 years, 3 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/pepper/pepper_graphics_2d_host.h
diff --git a/content/renderer/pepper/pepper_graphics_2d_host.h b/content/renderer/pepper/pepper_graphics_2d_host.h
index ad8c94d4fb2f3411139d27c498fb8b273a0cdc60..7179398d11bc2c2b1d5a9cb87cd1af716e6747f8 100644
--- a/content/renderer/pepper/pepper_graphics_2d_host.h
+++ b/content/renderer/pepper/pepper_graphics_2d_host.h
@@ -16,7 +16,10 @@
#include "ppapi/host/resource_host.h"
#include "third_party/WebKit/public/platform/WebCanvas.h"
-namespace cc { class TextureMailbox; }
+namespace cc {
+class SingleReleaseCallback;
+class TextureMailbox;
+}
namespace gfx {
class Point;
@@ -59,7 +62,9 @@ class CONTENT_EXPORT PepperGraphics2DHost
const gfx::Rect& plugin_rect,
const gfx::Rect& paint_rect);
- bool PrepareTextureMailbox(cc::TextureMailbox* mailbox);
+ bool PrepareTextureMailbox(
+ cc::TextureMailbox* mailbox,
+ scoped_ptr<cc::SingleReleaseCallback>* release_callback);
void AttachedToNewLayer();
// Notifications about the view's progress painting. See PluginInstance.

Powered by Google App Engine
This is Rietveld 408576698