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

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

Issue 1168943002: Remove ContextProvider::IsContextLost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: contextprovider: . Created 5 years, 6 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/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 ba20d5f8b89c4a0cb32828b6b68a0d96e52dcf03..b891c7b8b0785153403c56ffbb2b9a8e71006482 100644
--- a/components/view_manager/surfaces/surfaces_context_provider.h
+++ b/components/view_manager/surfaces/surfaces_context_provider.h
@@ -25,7 +25,6 @@ class SurfacesContextProvider : public cc::ContextProvider {
class GrContext* GrContext() override;
void InvalidateGrContext(uint32_t state) override;
Capabilities ContextCapabilities() override;
- bool IsContextLost() override;
void VerifyContexts() override {}
void DeleteCachedResources() override {}
bool DestroyedOnMainThread() override;
@@ -50,7 +49,6 @@ class SurfacesContextProvider : public cc::ContextProvider {
cc::ContextProvider::Capabilities capabilities_;
mojo::ScopedMessagePipeHandle command_buffer_handle_;
MojoGLES2Context context_;
- bool context_lost_;
LostContextCallback lost_context_callback_;
base::Lock context_lock_;
« no previous file with comments | « cc/test/test_in_process_context_provider.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