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

Unified Diff: components/mus/public/cpp/lib/context_provider.cc

Issue 2007813003: Remove Mojo GLES2 API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 7 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 | « components/mus/public/cpp/lib/DEPS ('k') | components/mus/public/cpp/lib/gles2_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/context_provider.cc
diff --git a/components/mus/public/cpp/lib/context_provider.cc b/components/mus/public/cpp/lib/context_provider.cc
index f1468f0228808c5290466a41d90d89773a006a5c..7e06ee6dbe8080be1aaf297ebfccc42e316333ed 100644
--- a/components/mus/public/cpp/lib/context_provider.cc
+++ b/components/mus/public/cpp/lib/context_provider.cc
@@ -18,10 +18,8 @@ ContextProvider::ContextProvider(
}
bool ContextProvider::BindToCurrentThread() {
- DCHECK(command_buffer_handle_.is_valid());
std::unique_ptr<GLES2Context> context(new GLES2Context(
- std::vector<int32_t>(), std::move(command_buffer_handle_),
- &ContextLostThunk, this));
+ std::vector<int32_t>(), std::move(command_buffer_handle_)));
if (context->Initialize())
context_ = std::move(context);
return !!context_;
@@ -60,6 +58,4 @@ base::Lock* ContextProvider::GetLock() {
ContextProvider::~ContextProvider() {
}
-void ContextProvider::ContextLost() {}
-
} // namespace mus
« no previous file with comments | « components/mus/public/cpp/lib/DEPS ('k') | components/mus/public/cpp/lib/gles2_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698