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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.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/modules/compositorworker/CompositorWorkerThreadTest.cpp
diff --git a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp
index 6d0ca72d6af42d46b3daa7f7890bf9106655b3be..1747a4f3d50375c3a9688beb22a43fe679c6aada 100644
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp
@@ -36,7 +36,7 @@ namespace {
class TestCompositorWorkerObjectProxy : public InProcessWorkerObjectProxy {
public:
static std::unique_ptr<TestCompositorWorkerObjectProxy> create() {
- return wrapUnique(new TestCompositorWorkerObjectProxy());
+ return WTF::wrapUnique(new TestCompositorWorkerObjectProxy());
}
// (Empty) WorkerReportingProxy implementation:
@@ -78,7 +78,7 @@ class TestCompositorProxyClient
class CompositorWorkerTestPlatform : public TestingPlatformSupport {
public:
CompositorWorkerTestPlatform()
- : m_thread(wrapUnique(m_oldPlatform->createThread("Compositor"))) {}
+ : m_thread(WTF::wrapUnique(m_oldPlatform->createThread("Compositor"))) {}
WebThread* compositorThread() const override { return m_thread.get(); }
@@ -121,7 +121,7 @@ class CompositorWorkerThreadTest : public ::testing::Test {
// Attempts to run some simple script for |worker|.
void checkWorkerCanExecuteScript(WorkerThread* worker) {
- std::unique_ptr<WaitableEvent> waitEvent = makeUnique<WaitableEvent>();
+ std::unique_ptr<WaitableEvent> waitEvent = WTF::makeUnique<WaitableEvent>();
worker->workerBackingThread().backingThread().postTask(
BLINK_FROM_HERE,
crossThreadBind(&CompositorWorkerThreadTest::executeScriptInWorker,

Powered by Google App Engine
This is Rietveld 408576698