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

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

Issue 2838343003: Blink Rename follow-up: Rename PrintContext::begin/end to Begin/EndPrintMode. (Closed)
Patch Set: Fix compilation of PrintContextTest.cpp Created 3 years, 8 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 c0f7b1a3dab90c79590697c7a110657e069f4745..9b45ea484572e78013010c77fc7edbd5c6376ab0 100644
--- a/third_party/WebKit/Source/core/page/PrintContextTest.cpp
+++ b/third_party/WebKit/Source/core/page/PrintContextTest.cpp
@@ -90,7 +90,7 @@ class PrintContextTest : public RenderingTest {
void PrintSinglePage(MockCanvas& canvas) {
IntRect page_rect(0, 0, kPageWidth, kPageHeight);
- PrintContext().begin(page_rect.Width(), page_rect.Height());
+ PrintContext().BeginPrintMode(page_rect.Width(), page_rect.Height());
GetDocument().View()->UpdateAllLifecyclePhases();
PaintRecordBuilder builder(page_rect);
GraphicsContext& context = builder.Context();
@@ -104,7 +104,7 @@ class PrintContextTest : public RenderingTest {
PrintContext().OutputLinkedDestinations(context, page_rect);
}
builder.EndRecording()->playback(&canvas);
- PrintContext().end();
+ PrintContext().EndPrintMode();
}
static String AbsoluteBlockHtmlForLink(int x,

Powered by Google App Engine
This is Rietveld 408576698