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

Unified Diff: mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h

Issue 2656583002: Remove unused typemap includes from generated C++ mojo bindings. (Closed)
Patch Set: Created 3 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
Index: mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h
diff --git a/mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h b/mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h
index edbf27b7d3059e0a1f1429af64a2a62f68688ae3..014ff8bdd1f0d094f968396857296eb873bdd0c2 100644
--- a/mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h
+++ b/mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h
@@ -22,7 +22,7 @@ struct CloneTraits<WTF::Vector<T>, false> {
WTF::Vector<T> result;
result.reserveCapacity(input.size());
for (const auto& element : input)
- result.append(internal::Clone(element));
+ result.push_back(internal::Clone(element));
return result;
}
« no previous file with comments | « media/mojo/services/mojo_video_decoder_service.h ('k') | mojo/public/cpp/bindings/tests/wtf_types_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698