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

Unified Diff: cc/layers/texture_layer_impl_unittest.cc

Issue 485043003: cc: Use correct message loop proxy in BlockingTaskRunner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Help gn deal with it. Created 6 years, 4 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/layers/texture_layer_impl_unittest.cc
diff --git a/cc/layers/texture_layer_impl_unittest.cc b/cc/layers/texture_layer_impl_unittest.cc
index cd7cf75c283906e7bf3e30131ea32029d9e5d697..c40cf318dfab9f17457353530a7843f6d89857ff 100644
--- a/cc/layers/texture_layer_impl_unittest.cc
+++ b/cc/layers/texture_layer_impl_unittest.cc
@@ -12,7 +12,10 @@
namespace cc {
namespace {
-void IgnoreCallback(uint32 sync_point, bool lost) {}
+void IgnoreCallback(uint32 sync_point,
+ bool lost,
+ scoped_refptr<BlockingTaskRunner> main_thread_task_runner) {
+}
TEST(TextureLayerImplTest, Occlusion) {
gfx::Size layer_size(1000, 1000);
@@ -32,7 +35,7 @@ TEST(TextureLayerImplTest, Occlusion) {
texture_layer_impl->SetDrawsContent(true);
texture_layer_impl->SetTextureMailbox(
texture_mailbox,
- SingleReleaseCallback::Create(base::Bind(&IgnoreCallback)));
+ SingleReleaseCallbackImpl::Create(base::Bind(&IgnoreCallback)));
impl.CalcDrawProps(viewport_size);

Powered by Google App Engine
This is Rietveld 408576698