diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-18 00:19:52 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-18 00:19:52 +0000 |
commit | dd909b1fe362c2b337be1687acd7c96c16685a7d (patch) | |
tree | a9ba16f5d0de162a7bccad9e8e758e76ff3aa7a6 /cc/test/pixel_test.cc | |
parent | 48297b548fbeb9ded21f401cb23784b783711aa3 (diff) | |
download | chromium_src-dd909b1fe362c2b337be1687acd7c96c16685a7d.zip chromium_src-dd909b1fe362c2b337be1687acd7c96c16685a7d.tar.gz chromium_src-dd909b1fe362c2b337be1687acd7c96c16685a7d.tar.bz2 |
cc: Pass impl task runner into TextureMailboxDeleter
BUG=348796
Review URL: https://codereview.chromium.org/195973004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257549 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/pixel_test.cc')
-rw-r--r-- | cc/test/pixel_test.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc index 9277fe5..782a144 100644 --- a/cc/test/pixel_test.cc +++ b/cc/test/pixel_test.cc @@ -5,6 +5,7 @@ #include "cc/test/pixel_test.h" #include "base/command_line.h" +#include "base/message_loop/message_loop_proxy.h" #include "base/path_service.h" #include "base/run_loop.h" #include "cc/base/switches.h" @@ -123,7 +124,8 @@ void PixelTest::SetUpGLRenderer(bool use_skia_gpu_backend) { resource_provider_ = ResourceProvider::Create(output_surface_.get(), NULL, 0, false, 1); - texture_mailbox_deleter_ = make_scoped_ptr(new TextureMailboxDeleter); + texture_mailbox_deleter_ = make_scoped_ptr( + new TextureMailboxDeleter(base::MessageLoopProxy::current())); renderer_ = GLRenderer::Create(this, &settings_, |