Index: cc/output/output_surface.cc |
diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc |
index 0786d660d4a58a3e24c03dabc3411f9d3e08cd9a..6b08e51ab836d62cfe8440f6caad5c7f3ee7bd42 100644 |
--- a/cc/output/output_surface.cc |
+++ b/cc/output/output_surface.cc |
@@ -129,6 +129,9 @@ bool OutputSurface::BindToClient(OutputSurfaceClient* client) { |
} |
if (success && worker_context_provider_.get()) { |
+ ContextProvider::ScopedContextLock scoped_context( |
ericrk
2015/08/24 21:00:10
I think this may just be a naming issue and actual
reveman
2015/08/25 22:59:59
Yes, the name of this function is a bit confusing.
|
+ worker_context_provider_.get()); |
+ |
success = worker_context_provider_->BindToCurrentThread(); |
if (success) |
worker_context_provider_->SetupLock(); |