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

Unified Diff: third_party/WebKit/Source/core/loader/ImageLoader.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/loader/ImageLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/ImageLoader.cpp b/third_party/WebKit/Source/core/loader/ImageLoader.cpp
index 4d70ac937abf3b1757641b4c55f1e99030f59d6b..fcd8632439d639c07a54c1524ed54cb0a211fb2b 100644
--- a/third_party/WebKit/Source/core/loader/ImageLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/ImageLoader.cpp
@@ -91,7 +91,7 @@ class ImageLoader::Task {
static std::unique_ptr<Task> create(ImageLoader* loader,
UpdateFromElementBehavior updateBehavior,
ReferrerPolicy referrerPolicy) {
- return makeUnique<Task>(loader, updateBehavior, referrerPolicy);
+ return WTF::makeUnique<Task>(loader, updateBehavior, referrerPolicy);
}
Task(ImageLoader* loader,
@@ -261,7 +261,8 @@ inline void ImageLoader::enqueueImageLoadingMicroTask(
std::unique_ptr<Task> task =
Task::create(this, updateBehavior, referrerPolicy);
m_pendingTask = task->createWeakPtr();
- Microtask::enqueueMicrotask(WTF::bind(&Task::run, passed(std::move(task))));
+ Microtask::enqueueMicrotask(
+ WTF::bind(&Task::run, WTF::passed(std::move(task))));
m_loadDelayCounter =
IncrementLoadEventDelayCount::create(m_element->document());
}
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.cpp ('k') | third_party/WebKit/Source/core/loader/NavigationScheduler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698