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

Unified Diff: android_webview/browser/aw_render_thread_context_provider.cc

Issue 1864723003: Make lost context and error message callbacks on GpuControl go to client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: errorcallback: blimp2 Created 4 years, 8 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: android_webview/browser/aw_render_thread_context_provider.cc
diff --git a/android_webview/browser/aw_render_thread_context_provider.cc b/android_webview/browser/aw_render_thread_context_provider.cc
index 6a28b8259277c2e28178a907aeb28d49d46ebec1..edf63fe88bd8550f079e5c21e909b87ff65d74a5 100644
--- a/android_webview/browser/aw_render_thread_context_provider.cc
+++ b/android_webview/browser/aw_render_thread_context_provider.cc
@@ -56,7 +56,7 @@ AwRenderThreadContextProvider::AwRenderThreadContextProvider(
gfx::PreferDiscreteGpu, gpu::GLInProcessContextSharedMemoryLimits(),
nullptr, nullptr));
- context_->SetContextLostCallback(base::Bind(
+ context_->GetImplementation()->SetLostContextCallback(base::Bind(
&AwRenderThreadContextProvider::OnLostContext, base::Unretained(this)));
capabilities_.gpu = context_->GetImplementation()->capabilities();

Powered by Google App Engine
This is Rietveld 408576698