Index: third_party/WebKit/Source/core/testing/Internals.cpp |
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp |
index 3f5d62f3176a6c02ef010ea34e7549e6210f1f0b..aa44b03fb6a0fb928ccd4e846dd227bc76963c85 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.cpp |
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp |
@@ -2846,8 +2846,7 @@ void Internals::resetTypeAheadSession(HTMLSelectElement* select) { |
bool Internals::loseSharedGraphicsContext3D() { |
std::unique_ptr<WebGraphicsContext3DProvider> shared_provider = |
- WTF::WrapUnique(Platform::Current() |
- ->CreateSharedOffscreenGraphicsContext3DProvider()); |
+ Platform::Current()->CreateSharedOffscreenGraphicsContext3DProvider(); |
if (!shared_provider) |
return false; |
gpu::gles2::GLES2Interface* shared_gl = shared_provider->ContextGL(); |