| Index: content/shell/test_runner/test_plugin.cc
|
| diff --git a/content/shell/test_runner/test_plugin.cc b/content/shell/test_runner/test_plugin.cc
|
| index fc588dc29d40dff464620fee93b365f7fef98af2..c2b5fe63f168c7a426b828ce3b2372c79a258fc2 100644
|
| --- a/content/shell/test_runner/test_plugin.cc
|
| +++ b/content/shell/test_runner/test_plugin.cc
|
| @@ -175,9 +175,9 @@ bool TestPlugin::Initialize(blink::WebPluginContainer* container) {
|
| 1; // We are creating a context through the WebGL APIs.
|
| blink::WebURL url = container->GetDocument().Url();
|
| blink::Platform::GraphicsInfo gl_info;
|
| - context_provider_ = base::WrapUnique(
|
| + context_provider_ =
|
| blink::Platform::Current()->CreateOffscreenGraphicsContext3DProvider(
|
| - attrs, url, nullptr, &gl_info));
|
| + attrs, url, nullptr, &gl_info);
|
| if (!context_provider_->BindToCurrentThread())
|
| context_provider_ = nullptr;
|
| gl_ = context_provider_ ? context_provider_->ContextGL() : nullptr;
|
|
|