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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/serialization/SerializedScriptValueFuzzer.cpp

Issue 2457163002: WTF/std normalization: replace WTF::Vector::emplaceAppend with ::emplace_back (Closed)
Patch Set: rebase + return reference to emplaced element Created 4 years, 1 month 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 | « no previous file | third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/serialization/SerializedScriptValueFuzzer.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/serialization/SerializedScriptValueFuzzer.cpp b/third_party/WebKit/Source/bindings/core/v8/serialization/SerializedScriptValueFuzzer.cpp
index e9cd65bd6cf6425639e954734d7ab2ba9dd31b2e..56cca93f706653fc9e2ed1751243a2c17150aa66 100644
--- a/third_party/WebKit/Source/bindings/core/v8/serialization/SerializedScriptValueFuzzer.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/serialization/SerializedScriptValueFuzzer.cpp
@@ -53,10 +53,10 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv) {
pageHolder = DummyPageHolder::create().release();
pageHolder->frame().settings()->setScriptEnabled(true);
blobInfoArray = new WebBlobInfoArray();
- blobInfoArray->emplaceAppend("d875dfc2-4505-461b-98fe-0cf6cc5eaf44",
- "text/plain", 12);
- blobInfoArray->emplaceAppend("d875dfc2-4505-461b-98fe-0cf6cc5eaf44",
- "/native/path", "path", "text/plain");
+ blobInfoArray->emplace_back("d875dfc2-4505-461b-98fe-0cf6cc5eaf44",
+ "text/plain", 12);
+ blobInfoArray->emplace_back("d875dfc2-4505-461b-98fe-0cf6cc5eaf44",
+ "/native/path", "path", "text/plain");
return 0;
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698