| Index: cc/test/test_context_provider.h
|
| diff --git a/cc/test/test_context_provider.h b/cc/test/test_context_provider.h
|
| index 82b3e612d681344d71d0dbf603f51dcfc8f437a7..8f128f1f7488eec54cbb14f8f6977051c9006273 100644
|
| --- a/cc/test/test_context_provider.h
|
| +++ b/cc/test/test_context_provider.h
|
| @@ -25,6 +25,10 @@ class TestContextProvider : public ContextProvider {
|
| CreateCallback;
|
|
|
| static scoped_refptr<TestContextProvider> Create();
|
| + // Creates a worker context provider that doesn't need to be bound to a
|
| + // thread and can be used on any thread. This is equivalent to:
|
| + // Create(); BindToCurrentThread(); SetupLock(); DetachFromThread().
|
| + static scoped_refptr<TestContextProvider> CreateWorker();
|
| static scoped_refptr<TestContextProvider> Create(
|
| scoped_ptr<TestWebGraphicsContext3D> context);
|
|
|
|
|