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

Unified Diff: cc/output/context_cache_controller_unittest.cc

Issue 2286873003: Provide TaskRunner to ContextCacheController (Closed)
Patch Set: cleanup Created 4 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/output/context_cache_controller_unittest.cc
diff --git a/cc/output/context_cache_controller_unittest.cc b/cc/output/context_cache_controller_unittest.cc
index 39f8d1e0ab1ebb7e10d0ebc90dda6f1dcc7ef034..67831aa16c151e237e7c9e776d10ecb0cd705d67 100644
--- a/cc/output/context_cache_controller_unittest.cc
+++ b/cc/output/context_cache_controller_unittest.cc
@@ -25,7 +25,7 @@ class MockContextSupport : public TestContextSupport {
TEST(ContextCacheControllerTest, ScopedVisibilityBasic) {
StrictMock<MockContextSupport> context_support;
- ContextCacheController cache_controller(&context_support);
+ ContextCacheController cache_controller(&context_support, nullptr);
EXPECT_CALL(context_support, SetAggressivelyFreeResources(false));
std::unique_ptr<ContextCacheController::ScopedVisibility> visibility =
@@ -38,7 +38,7 @@ TEST(ContextCacheControllerTest, ScopedVisibilityBasic) {
TEST(ContextCacheControllerTest, ScopedVisibilityMulti) {
StrictMock<MockContextSupport> context_support;
- ContextCacheController cache_controller(&context_support);
+ ContextCacheController cache_controller(&context_support, nullptr);
EXPECT_CALL(context_support, SetAggressivelyFreeResources(false));
std::unique_ptr<ContextCacheController::ScopedVisibility> visibility_1 =

Powered by Google App Engine
This is Rietveld 408576698