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

Unified Diff: third_party/WebKit/Source/core/dom/ScriptedAnimationControllerTest.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/core/dom/ScriptedAnimationControllerTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/ScriptedAnimationControllerTest.cpp b/third_party/WebKit/Source/core/dom/ScriptedAnimationControllerTest.cpp
index 1830b53f5dd203ce78ecb1454d9ddf26f6216fe8..8497b5f2b330e3aed6238aab80cfe95141fab93e 100644
--- a/third_party/WebKit/Source/core/dom/ScriptedAnimationControllerTest.cpp
+++ b/third_party/WebKit/Source/core/dom/ScriptedAnimationControllerTest.cpp
@@ -45,7 +45,7 @@ namespace {
class TaskOrderObserver {
public:
std::unique_ptr<WTF::Closure> createTask(int id) {
- return WTF::bind(&TaskOrderObserver::runTask, unretained(this), id);
+ return WTF::bind(&TaskOrderObserver::runTask, WTF::unretained(this), id);
}
const Vector<int>& order() const { return m_order; }
@@ -96,8 +96,9 @@ TEST_F(ScriptedAnimationControllerTest, EnqueueWithinTask) {
TaskOrderObserver observer;
controller().enqueueTask(observer.createTask(1));
- controller().enqueueTask(WTF::bind(
- &enqueueTask, wrapPersistent(&controller()), unretained(&observer), 2));
+ controller().enqueueTask(WTF::bind(&enqueueTask,
+ wrapPersistent(&controller()),
+ WTF::unretained(&observer), 2));
controller().enqueueTask(observer.createTask(3));
EXPECT_EQ(0u, observer.order().size());
« no previous file with comments | « third_party/WebKit/Source/core/dom/MessagePort.cpp ('k') | third_party/WebKit/Source/core/dom/SelectorQuery.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698