Index: cc/output/output_surface.cc |
diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc |
index 65f0ef3ad7ebd721a154b3f44456af85f0544f23..056879f49d84ba444142101690da109437208d14 100644 |
--- a/cc/output/output_surface.cc |
+++ b/cc/output/output_surface.cc |
@@ -128,6 +128,12 @@ |
} |
} |
+ if (success && worker_context_provider_.get()) { |
+ success = worker_context_provider_->BindToCurrentThread(); |
+ if (success) |
+ worker_context_provider_->SetupLock(); |
+ } |
+ |
if (!success) |
client_ = NULL; |