Index: third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.cpp b/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.cpp |
index e624aa19c01cb05bd7c6389d9a1c8ce40f592942..e119ed746235ea24210e2e5a12f74cb2684cba26 100644 |
--- a/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.cpp |
@@ -30,8 +30,8 @@ void SharedGpuContext::createContextProviderOnMainThread( |
Platform::ContextAttributes contextAttributes; |
contextAttributes.webGLVersion = 1; // GLES2 |
Platform::GraphicsInfo graphicsInfo; |
- m_contextProvider = |
- wrapUnique(Platform::current()->createOffscreenGraphicsContext3DProvider( |
+ m_contextProvider = WTF::wrapUnique( |
+ Platform::current()->createOffscreenGraphicsContext3DProvider( |
contextAttributes, WebURL(), nullptr, &graphicsInfo)); |
if (waitableEvent) |
waitableEvent->signal(); |
@@ -50,8 +50,8 @@ void SharedGpuContext::createContextProviderIfNeeded() { |
m_contextProvider = m_contextProviderFactory(); |
} else if (isMainThread()) { |
m_contextProvider = |
- wrapUnique(blink::Platform::current() |
- ->createSharedOffscreenGraphicsContext3DProvider()); |
+ WTF::wrapUnique(blink::Platform::current() |
+ ->createSharedOffscreenGraphicsContext3DProvider()); |
} else { |
// This synchronous round-trip to the main thread is the reason why |
// SharedGpuContext encasulates the context provider: so we only have to do |