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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTreeAsText.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/layout/LayoutTreeAsText.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
index 4b3a42362b633b4b2c19c5b15b78175ffc3315f8..faec0aec9062cbbc2d446b7583073745a9968ec8 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
@@ -820,7 +820,7 @@ String ExternalRepresentation(LocalFrame* frame,
PrintContext print_context(frame);
if (behavior & kLayoutAsTextPrintingMode) {
FloatSize size(ToLayoutBox(layout_object)->Size());
- print_context.begin(size.Width(), size.Height());
+ print_context.BeginPrintMode(size.Width(), size.Height());
}
return ExternalRepresentation(ToLayoutBox(layout_object), behavior,

Powered by Google App Engine
This is Rietveld 408576698