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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThreadTest.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/AnimationWorkletThreadTest.cpp
diff --git a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThreadTest.cpp b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThreadTest.cpp
index bcc9a681220cbf04d56878bca8b56768bb0fb56c..551005152cb1f4df5feb938782ca4236a1c40ae8 100644
--- a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThreadTest.cpp
+++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThreadTest.cpp
@@ -34,7 +34,7 @@ namespace {
class TestAnimationWorkletReportingProxy : public WorkerReportingProxy {
public:
static std::unique_ptr<TestAnimationWorkletReportingProxy> create() {
- return wrapUnique(new TestAnimationWorkletReportingProxy());
+ return WTF::wrapUnique(new TestAnimationWorkletReportingProxy());
}
// (Empty) WorkerReportingProxy implementation:
@@ -67,7 +67,7 @@ class TestAnimationWorkletReportingProxy : public WorkerReportingProxy {
class AnimationWorkletTestPlatform : public TestingPlatformSupport {
public:
AnimationWorkletTestPlatform()
- : m_thread(wrapUnique(m_oldPlatform->createThread("Compositor"))) {}
+ : m_thread(WTF::wrapUnique(m_oldPlatform->createThread("Compositor"))) {}
WebThread* compositorThread() const override { return m_thread.get(); }
@@ -108,7 +108,7 @@ class AnimationWorkletThreadTest : public ::testing::Test {
// Attempts to run some simple script for |thread|.
void checkWorkletCanExecuteScript(WorkerThread* thread) {
- std::unique_ptr<WaitableEvent> waitEvent = makeUnique<WaitableEvent>();
+ std::unique_ptr<WaitableEvent> waitEvent = WTF::makeUnique<WaitableEvent>();
thread->workerBackingThread().backingThread().postTask(
BLINK_FROM_HERE,
crossThreadBind(&AnimationWorkletThreadTest::executeScriptInWorklet,

Powered by Google App Engine
This is Rietveld 408576698