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

Unified Diff: components/display_compositor/yuv_readback_unittest.cc

Issue 2286873003: Provide TaskRunner to ContextCacheController (Closed)
Patch Set: feedback Created 4 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: components/display_compositor/yuv_readback_unittest.cc
diff --git a/components/display_compositor/yuv_readback_unittest.cc b/components/display_compositor/yuv_readback_unittest.cc
index 91f1d2fbdad55f3615ece29ad17f3cd4987d69de..97448956080b4c357c8265faf36103794bf499bd 100644
--- a/components/display_compositor/yuv_readback_unittest.cc
+++ b/components/display_compositor/yuv_readback_unittest.cc
@@ -8,6 +8,7 @@
#include "base/strings/stringprintf.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
+#include "base/threading/thread_task_runner_handle.h"
#include "components/display_compositor/gl_helper.h"
#include "gpu/command_buffer/client/gl_in_process_context.h"
#include "gpu/command_buffer/client/gles2_implementation.h"
@@ -46,7 +47,8 @@ class YUVReadbackTest : public testing::Test {
nullptr, /* share_context */
attributes, gpu::SharedMemoryLimits(),
nullptr, /* gpu_memory_buffer_manager */
- nullptr /* image_factory */));
+ nullptr, /* image_factory */
+ base::ThreadTaskRunnerHandle::Get()));
gl_ = context_->GetImplementation();
gpu::ContextSupport* support = context_->GetImplementation();
« no previous file with comments | « components/display_compositor/gl_helper_unittest.cc ('k') | content/common/gpu/client/context_provider_command_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698