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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/SourceLocation.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/bindings/core/v8/SourceLocation.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp b/third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp
index cfcb3a594a5abe40e37545b565de13057fc11b26..2176ac735d3e259ade882b59124ae59fbda2d386 100644
--- a/third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp
@@ -118,8 +118,8 @@ std::unique_ptr<SourceLocation> SourceLocation::create(
unsigned columnNumber,
std::unique_ptr<v8_inspector::V8StackTrace> stackTrace,
int scriptId) {
- return wrapUnique(new SourceLocation(url, lineNumber, columnNumber,
- std::move(stackTrace), scriptId));
+ return WTF::wrapUnique(new SourceLocation(url, lineNumber, columnNumber,
+ std::move(stackTrace), scriptId));
}
// static
@@ -130,8 +130,8 @@ std::unique_ptr<SourceLocation> SourceLocation::createFromNonEmptyV8StackTrace(
String url = toCoreString(stackTrace->topSourceURL());
unsigned lineNumber = stackTrace->topLineNumber();
unsigned columnNumber = stackTrace->topColumnNumber();
- return wrapUnique(new SourceLocation(url, lineNumber, columnNumber,
- std::move(stackTrace), scriptId));
+ return WTF::wrapUnique(new SourceLocation(url, lineNumber, columnNumber,
+ std::move(stackTrace), scriptId));
}
// static
@@ -186,7 +186,7 @@ void SourceLocation::toTracedValue(TracedValue* value, const char* name) const {
}
std::unique_ptr<SourceLocation> SourceLocation::clone() const {
- return wrapUnique(new SourceLocation(
+ return WTF::wrapUnique(new SourceLocation(
m_url.isolatedCopy(), m_lineNumber, m_columnNumber,
m_stackTrace ? m_stackTrace->clone() : nullptr, m_scriptId));
}

Powered by Google App Engine
This is Rietveld 408576698