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

Unified Diff: cc/test/test_in_process_context_provider.cc

Issue 1317743002: cc: Implement shared worker contexts. (v1) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tear down Created 5 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.h ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_in_process_context_provider.cc
diff --git a/cc/test/test_in_process_context_provider.cc b/cc/test/test_in_process_context_provider.cc
index 79d53d25c87d87e2c84be6f6405736c063a75fc1..0d87ab016cfe41971264a2621e3607ddedb93dcb 100644
--- a/cc/test/test_in_process_context_provider.cc
+++ b/cc/test/test_in_process_context_provider.cc
@@ -163,7 +163,9 @@ void TestInProcessContextProvider::DeleteCachedResources() {
gr_context_->freeGpuResources();
}
-bool TestInProcessContextProvider::DestroyedOnMainThread() { return false; }
+bool TestInProcessContextProvider::HasBeenLostOnMainThread() {
+ return false;
+}
void TestInProcessContextProvider::SetLostContextCallback(
const LostContextCallback& lost_context_callback) {}
@@ -171,4 +173,8 @@ void TestInProcessContextProvider::SetLostContextCallback(
void TestInProcessContextProvider::SetMemoryPolicyChangedCallback(
const MemoryPolicyChangedCallback& memory_policy_changed_callback) {}
+bool TestInProcessContextProvider::HasBeenDestroyed() {
+ return false;
+}
+
} // namespace cc
« no previous file with comments | « cc/test/test_in_process_context_provider.h ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698