Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1338)

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.cpp

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698