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

Unified Diff: third_party/WebKit/Source/web/SuspendableScriptExecutor.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/web/SuspendableScriptExecutor.cpp
diff --git a/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp b/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp
index f3a0d1c7edafac3b701b62d050710b79daa6f600..c62c432afaa6adb1d47bbcd2e62e3f1ac1b545af 100644
--- a/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp
+++ b/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp
@@ -56,8 +56,8 @@ WebScriptExecutor::WebScriptExecutor(
Vector<v8::Local<v8::Value>> WebScriptExecutor::execute(LocalFrame* frame) {
std::unique_ptr<UserGestureIndicator> indicator;
if (m_userGesture) {
- indicator =
- wrapUnique(new UserGestureIndicator(DocumentUserGestureToken::create(
+ indicator = WTF::wrapUnique(
+ new UserGestureIndicator(DocumentUserGestureToken::create(
frame->document(), UserGestureToken::NewGesture)));
}
@@ -118,7 +118,7 @@ Vector<v8::Local<v8::Value>> V8FunctionExecutor::execute(LocalFrame* frame) {
std::unique_ptr<UserGestureIndicator> gestureIndicator;
if (m_gestureToken) {
gestureIndicator =
- wrapUnique(new UserGestureIndicator(m_gestureToken.release()));
+ WTF::wrapUnique(new UserGestureIndicator(m_gestureToken.release()));
}
if (V8ScriptRunner::callFunction(m_function.newLocal(isolate),
frame->document(),
« no previous file with comments | « third_party/WebKit/Source/web/StorageClientImpl.cpp ('k') | third_party/WebKit/Source/web/UserMediaClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698