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

Unified Diff: third_party/WebKit/Source/wtf/TerminatedArray.h

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
« no previous file with comments | « third_party/WebKit/Source/wtf/PtrUtil.h ('k') | third_party/WebKit/Source/wtf/UniquePtrTransitionGuide.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/TerminatedArray.h
diff --git a/third_party/WebKit/Source/wtf/TerminatedArray.h b/third_party/WebKit/Source/wtf/TerminatedArray.h
index 29508793b0e7d121175f4c86b054264b41957947..873bc5b881a6c9e9f1dfcb90b45ff2b2236b4139 100644
--- a/third_party/WebKit/Source/wtf/TerminatedArray.h
+++ b/third_party/WebKit/Source/wtf/TerminatedArray.h
@@ -90,13 +90,13 @@ class TerminatedArray {
static PassPtr release(Ptr& ptr) { return ptr.release(); }
static PassPtr create(size_t capacity) {
- return wrapUnique(
+ return WTF::wrapUnique(
static_cast<TerminatedArray*>(WTF::Partitions::fastMalloc(
capacity * sizeof(T), WTF_HEAP_PROFILER_TYPE_NAME(T))));
}
static PassPtr resize(Ptr ptr, size_t capacity) {
- return wrapUnique(static_cast<TerminatedArray*>(
+ return WTF::wrapUnique(static_cast<TerminatedArray*>(
WTF::Partitions::fastRealloc(ptr.release(), capacity * sizeof(T),
WTF_HEAP_PROFILER_TYPE_NAME(T))));
}
« no previous file with comments | « third_party/WebKit/Source/wtf/PtrUtil.h ('k') | third_party/WebKit/Source/wtf/UniquePtrTransitionGuide.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698