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

Unified Diff: components/display_compositor/gl_helper_benchmark.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
« no previous file with comments | « cc/test/test_in_process_context_provider.cc ('k') | components/display_compositor/gl_helper_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/display_compositor/gl_helper_benchmark.cc
diff --git a/components/display_compositor/gl_helper_benchmark.cc b/components/display_compositor/gl_helper_benchmark.cc
index bf1cbb5428aacab29d37296e2481ccff134c6c94..04c60c221a32d0648ba0f1975e1d3b6270e08090 100644
--- a/components/display_compositor/gl_helper_benchmark.cc
+++ b/components/display_compositor/gl_helper_benchmark.cc
@@ -23,6 +23,7 @@
#include "base/files/file_util.h"
#include "base/macros.h"
#include "base/strings/stringprintf.h"
+#include "base/threading/thread_task_runner_handle.h"
#include "base/time/time.h"
#include "components/display_compositor/gl_helper.h"
#include "components/display_compositor/gl_helper_scaling.h"
@@ -74,7 +75,8 @@ class GLHelperBenchmark : 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 | « cc/test/test_in_process_context_provider.cc ('k') | components/display_compositor/gl_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698