| 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 4fe999f17e4acbcfa44783c22b92a3380a0c1c37..d3e6692f332c6c1843cca871ed2c6f4bde058b63 100644
|
| --- a/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp
|
| +++ b/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp
|
| @@ -69,7 +69,7 @@ Vector<v8::Local<v8::Value>> WebScriptExecutor::execute(LocalFrame* frame) {
|
| v8::Local<v8::Value> scriptValue =
|
| frame->script().executeScriptInMainWorldAndReturnValue(
|
| m_sources.front());
|
| - results.append(scriptValue);
|
| + results.push_back(scriptValue);
|
| }
|
|
|
| return results;
|
| @@ -113,7 +113,7 @@ Vector<v8::Local<v8::Value>> V8FunctionExecutor::execute(LocalFrame* frame) {
|
| Vector<v8::Local<v8::Value>> args;
|
| args.reserveCapacity(m_args.Size());
|
| for (size_t i = 0; i < m_args.Size(); ++i)
|
| - args.append(m_args.Get(i));
|
| + args.push_back(m_args.Get(i));
|
| {
|
| std::unique_ptr<UserGestureIndicator> gestureIndicator;
|
| if (m_gestureToken) {
|
| @@ -125,7 +125,7 @@ Vector<v8::Local<v8::Value>> V8FunctionExecutor::execute(LocalFrame* frame) {
|
| m_receiver.newLocal(isolate), args.size(),
|
| args.data(), toIsolate(frame))
|
| .ToLocal(&singleResult))
|
| - results.append(singleResult);
|
| + results.push_back(singleResult);
|
| }
|
| return results;
|
| }
|
|
|