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

Unified Diff: Source/bindings/core/v8/ScheduledAction.cpp

Issue 921813002: Fix template angle bracket syntax in bindings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « Source/bindings/core/v8/ScheduledAction.h ('k') | Source/bindings/core/v8/ScriptController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScheduledAction.cpp
diff --git a/Source/bindings/core/v8/ScheduledAction.cpp b/Source/bindings/core/v8/ScheduledAction.cpp
index 8551e79b4db1af6345e93ef37009bb3a489189f3..63194f48fa510908f54b3676824eb05c1ab4d478 100644
--- a/Source/bindings/core/v8/ScheduledAction.cpp
+++ b/Source/bindings/core/v8/ScheduledAction.cpp
@@ -115,7 +115,7 @@ void ScheduledAction::execute(LocalFrame* frame)
ScriptState::Scope scope(m_scriptState.get());
if (!m_function.isEmpty()) {
WTF_LOG(Timers, "ScheduledAction::execute %p: have function", this);
- Vector<v8::Handle<v8::Value> > info;
+ Vector<v8::Handle<v8::Value>> info;
createLocalHandlesForArgs(&info);
frame->script().callFunction(m_function.newLocal(m_scriptState->isolate()), m_scriptState->context()->Global(), info.size(), info.data());
} else {
@@ -132,7 +132,7 @@ void ScheduledAction::execute(WorkerGlobalScope* worker)
ASSERT(m_scriptState->contextIsValid());
if (!m_function.isEmpty()) {
ScriptState::Scope scope(m_scriptState.get());
- Vector<v8::Handle<v8::Value> > info;
+ Vector<v8::Handle<v8::Value>> info;
createLocalHandlesForArgs(&info);
V8ScriptRunner::callFunction(m_function.newLocal(m_scriptState->isolate()), worker, m_scriptState->context()->Global(), info.size(), info.data(), m_scriptState->isolate());
} else {
@@ -140,7 +140,7 @@ void ScheduledAction::execute(WorkerGlobalScope* worker)
}
}
-void ScheduledAction::createLocalHandlesForArgs(Vector<v8::Handle<v8::Value> >* handles)
+void ScheduledAction::createLocalHandlesForArgs(Vector<v8::Handle<v8::Value>>* handles)
{
handles->reserveCapacity(m_info.Size());
for (size_t i = 0; i < m_info.Size(); ++i)
« no previous file with comments | « Source/bindings/core/v8/ScheduledAction.h ('k') | Source/bindings/core/v8/ScriptController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698