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

Unified Diff: blimp/client/feature/compositor/blimp_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: blimp 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: blimp/client/feature/compositor/blimp_context_provider.cc
diff --git a/blimp/client/feature/compositor/blimp_context_provider.cc b/blimp/client/feature/compositor/blimp_context_provider.cc
index 43bdd770133a0ba3c88c914ce5a977977cdd1779..97825a3b5be266e4999bc2d45d41bc400ee9279e 100644
--- a/blimp/client/feature/compositor/blimp_context_provider.cc
+++ b/blimp/client/feature/compositor/blimp_context_provider.cc
@@ -45,7 +45,7 @@ BlimpContextProvider::BlimpContextProvider(
widget, gfx::Size(1, 1), nullptr /* share_context */, attribs_for_gles2,
gfx::PreferDiscreteGpu, gpu::GLInProcessContextSharedMemoryLimits(),
gpu_memory_buffer_manager, nullptr /* memory_limits */));
- context_->SetContextLostCallback(
+ context_->GetImplementation()->SetContextLostCallback(
base::Bind(&BlimpContextProvider::OnLostContext, base::Unretained(this)));
}

Powered by Google App Engine
This is Rietveld 408576698