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

Unified Diff: Source/web/SuspendableScriptExecutor.cpp

Issue 843683005: Fix a bit of C++11 in web/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 months 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: Source/web/SuspendableScriptExecutor.cpp
diff --git a/Source/web/SuspendableScriptExecutor.cpp b/Source/web/SuspendableScriptExecutor.cpp
index 5b3718c0c61ebcde9c0157875a3d2c7ceaf35ce8..e61c6064395b0ba0860c978ebf089b6cb8115851 100644
--- a/Source/web/SuspendableScriptExecutor.cpp
+++ b/Source/web/SuspendableScriptExecutor.cpp
@@ -31,7 +31,7 @@ void SuspendableScriptExecutor::contextDestroyed()
// this method can only be called if the script was not called in run()
// and context remained suspend (method resume has never called)
ActiveDOMObject::contextDestroyed();
- m_callback->completed(Vector<v8::Local<v8::Value> >());
+ m_callback->completed(Vector<v8::Local<v8::Value>>());
deref();
}
@@ -68,7 +68,7 @@ void SuspendableScriptExecutor::executeAndDestroySelf()
indicator = adoptPtr(new UserGestureIndicator(DefinitelyProcessingNewUserGesture));
v8::HandleScope scope(v8::Isolate::GetCurrent());
- Vector<v8::Local<v8::Value> > results;
+ Vector<v8::Local<v8::Value>> results;
if (m_worldID) {
m_frame->script().executeScriptInIsolatedWorld(m_worldID, m_sources, m_extensionGroup, &results);
} else {

Powered by Google App Engine
This is Rietveld 408576698