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

Unified Diff: components/view_manager/surfaces/surfaces_context_provider.h

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/trees/layer_tree_host_unittest.cc ('k') | components/view_manager/surfaces/surfaces_context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/surfaces/surfaces_context_provider.h
diff --git a/components/view_manager/surfaces/surfaces_context_provider.h b/components/view_manager/surfaces/surfaces_context_provider.h
index a85162c15d8e45572bf3e529f4211d6f0bd9ac47..dd7a1c5b62c9a5234385b5b87903dab88daa928c 100644
--- a/components/view_manager/surfaces/surfaces_context_provider.h
+++ b/components/view_manager/surfaces/surfaces_context_provider.h
@@ -51,7 +51,7 @@ class SurfacesContextProvider : public cc::ContextProvider,
Capabilities ContextCapabilities() override;
void VerifyContexts() override {}
void DeleteCachedResources() override {}
- bool DestroyedOnMainThread() override;
+ bool HasBeenLostOnMainThread() override;
void SetLostContextCallback(
const LostContextCallback& lost_context_callback) override;
void SetMemoryPolicyChangedCallback(
@@ -59,6 +59,7 @@ class SurfacesContextProvider : public cc::ContextProvider,
override {}
void SetupLock() override;
base::Lock* GetLock() override;
+ bool HasBeenDestroyed() override;
protected:
friend class base::RefCountedThreadSafe<SurfacesContextProvider>;
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | components/view_manager/surfaces/surfaces_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698