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

Unified Diff: third_party/WebKit/Source/platform/json/JSONValues.h

Issue 2615813003: Migrate WTF::Vector::append() to ::push_back() [part 14 of N] (Closed)
Patch Set: rebase, small fix in FontSettings.h Created 3 years, 11 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: third_party/WebKit/Source/platform/json/JSONValues.h
diff --git a/third_party/WebKit/Source/platform/json/JSONValues.h b/third_party/WebKit/Source/platform/json/JSONValues.h
index b179d6e66dbbd847ccf88a910d33c3c96440a3ee..4a37cd7913cff7254aa28ade9b781bf7856ca8c2 100644
--- a/third_party/WebKit/Source/platform/json/JSONValues.h
+++ b/third_party/WebKit/Source/platform/json/JSONValues.h
@@ -226,7 +226,7 @@ class PLATFORM_EXPORT JSONObject : public JSONValue {
void set(const String& key, std::unique_ptr<T>& value) {
DCHECK(value);
if (m_data.set(key, std::move(value)).isNewEntry)
- m_order.append(key);
+ m_order.push_back(key);
}
using Dictionary = HashMap<String, std::unique_ptr<JSONValue>>;

Powered by Google App Engine
This is Rietveld 408576698