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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/SQLResultSetRowList.h

Issue 2614663008: Migrate WTF::Vector::append() to ::push_back() [part 13 of N] (Closed)
Patch Set: 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/modules/webdatabase/SQLResultSetRowList.h
diff --git a/third_party/WebKit/Source/modules/webdatabase/SQLResultSetRowList.h b/third_party/WebKit/Source/modules/webdatabase/SQLResultSetRowList.h
index 367f4d53d7b6af654525bf0c4f29ff8d5045c5ee..0e4cd17b0a5c2500c31177fe9eaa192a12b43676 100644
--- a/third_party/WebKit/Source/modules/webdatabase/SQLResultSetRowList.h
+++ b/third_party/WebKit/Source/modules/webdatabase/SQLResultSetRowList.h
@@ -51,8 +51,8 @@ class SQLResultSetRowList final
const Vector<String>& columnNames() const { return m_columns; }
const Vector<SQLValue>& values() const { return m_result; }
- void addColumn(const String& name) { m_columns.append(name); }
- void addResult(const SQLValue& result) { m_result.append(result); }
+ void addColumn(const String& name) { m_columns.push_back(name); }
+ void addResult(const SQLValue& result) { m_result.push_back(result); }
unsigned length() const;
ScriptValue item(ScriptState*, unsigned index, ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698