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

Unified Diff: third_party/WebKit/Source/core/page/PrintContextTest.cpp

Issue 2614033002: Migrate WTF::Vector::append() to ::push_back() [part 11 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/core/page/PrintContextTest.cpp
diff --git a/third_party/WebKit/Source/core/page/PrintContextTest.cpp b/third_party/WebKit/Source/core/page/PrintContextTest.cpp
index 9145940fb676cf9ece2e07dfd8d5e8faca5cfc86..562e204e77b60c96b064ccf954f087e3f3f1f9cb 100644
--- a/third_party/WebKit/Source/core/page/PrintContextTest.cpp
+++ b/third_party/WebKit/Source/core/page/PrintContextTest.cpp
@@ -54,11 +54,11 @@ class MockCanvas : public SkCanvas {
SkPoint point = getTotalMatrix().mapXY(rect.x(), rect.y());
Operation operation = {DrawPoint,
SkRect::MakeXYWH(point.x(), point.y(), 0, 0)};
- m_recordedOperations.append(operation);
+ m_recordedOperations.push_back(operation);
} else {
Operation operation = {DrawRect, rect};
getTotalMatrix().mapRect(&operation.rect);
- m_recordedOperations.append(operation);
+ m_recordedOperations.push_back(operation);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/page/PrintContext.cpp ('k') | third_party/WebKit/Source/core/page/TouchAdjustment.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698