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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8Binding.h

Issue 2554693003: Migrate WTF::Vector::append() to ::push_back() [part 1 of N] (Closed)
Patch Set: rebase 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/V8Binding.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
index 860cfd519d4511b13b872e4aee50edb7a42cc2e7..29a5a4606e92e0b8b66e3d22d4a0aa7f1f40c8e4 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
@@ -1075,8 +1075,8 @@ VectorType toImplSequence(v8::Isolate* isolate,
}
if (doneBoolean->Value())
break;
- result.append(NativeValueTraits<ValueType>::nativeValue(isolate, element,
- exceptionState));
+ result.push_back(NativeValueTraits<ValueType>::nativeValue(isolate, element,
+ exceptionState));
}
return result;
}

Powered by Google App Engine
This is Rietveld 408576698