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, |