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

Unified Diff: third_party/WebKit/Source/platform/threading/BackgroundTaskRunnerTest.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/threading/BackgroundTaskRunnerTest.cpp
diff --git a/third_party/WebKit/Source/platform/threading/BackgroundTaskRunnerTest.cpp b/third_party/WebKit/Source/platform/threading/BackgroundTaskRunnerTest.cpp
index 6717d30ae60e1c5b5ad61c178bbf19a075c9efc0..7bf55cb0b4e66d2c611a6b02a576fbc83b2deec3 100644
--- a/third_party/WebKit/Source/platform/threading/BackgroundTaskRunnerTest.cpp
+++ b/third_party/WebKit/Source/platform/threading/BackgroundTaskRunnerTest.cpp
@@ -22,7 +22,7 @@ void PingPongTask(WaitableEvent* doneEvent) {
class BackgroundTaskRunnerTest : public testing::Test {};
TEST_F(BackgroundTaskRunnerTest, RunShortTaskOnBackgroundThread) {
- std::unique_ptr<WaitableEvent> doneEvent = makeUnique<WaitableEvent>();
+ std::unique_ptr<WaitableEvent> doneEvent = WTF::makeUnique<WaitableEvent>();
BackgroundTaskRunner::postOnBackgroundThread(
BLINK_FROM_HERE,
crossThreadBind(&PingPongTask, crossThreadUnretained(doneEvent.get())),
@@ -32,7 +32,7 @@ TEST_F(BackgroundTaskRunnerTest, RunShortTaskOnBackgroundThread) {
}
TEST_F(BackgroundTaskRunnerTest, RunLongTaskOnBackgroundThread) {
- std::unique_ptr<WaitableEvent> doneEvent = makeUnique<WaitableEvent>();
+ std::unique_ptr<WaitableEvent> doneEvent = WTF::makeUnique<WaitableEvent>();
BackgroundTaskRunner::postOnBackgroundThread(
BLINK_FROM_HERE,
crossThreadBind(&PingPongTask, crossThreadUnretained(doneEvent.get())),

Powered by Google App Engine
This is Rietveld 408576698