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

Unified Diff: cc/test/layer_tree_pixel_test.h

Issue 23648014: cc: Move TextureMailbox::ReleaseCallback to SingleReleaseCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: releasecallback: missingfiles 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: cc/test/layer_tree_pixel_test.h
diff --git a/cc/test/layer_tree_pixel_test.h b/cc/test/layer_tree_pixel_test.h
index 82fffb49cc72f37ff630706f18fabd97f365c9c5..21de5f6a54ce28a4ddbad5bbfba155b01e886eda 100644
--- a/cc/test/layer_tree_pixel_test.h
+++ b/cc/test/layer_tree_pixel_test.h
@@ -7,6 +7,7 @@
#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "cc/resources/scoped_release_callback.h"
#include "cc/test/layer_tree_test.h"
#ifndef CC_TEST_LAYER_TREE_PIXEL_TEST_H_
@@ -75,7 +76,10 @@ class LayerTreePixelTest : public LayerTreeTest {
gfx::Size size,
const TextureMailbox& texture_mailbox);
- TextureMailbox CopyBitmapToTextureMailboxAsTexture(const SkBitmap& bitmap);
+ void CopyBitmapToTextureMailboxAsTexture(
+ const SkBitmap& bitmap,
+ TextureMailbox* texture_mailbox,
+ ScopedReleaseCallback* release_callback);
void ReleaseTextureMailbox(
scoped_ptr<WebKit::WebGraphicsContext3D> context3d,

Powered by Google App Engine
This is Rietveld 408576698