| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index 6f3db2e977c3e9f30d4fc23ea5b43527f05c67d4..be429b30d4d4664432fa9ed8a11de203f3d2e829 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -3040,7 +3040,7 @@ void FrameView::SetupPrintContext() {
|
| int width = is_us ? kLetterPortraitPageWidth : kA4PortraitPageWidth;
|
| int height = is_us ? kLetterPortraitPageHeight : kA4PortraitPageHeight;
|
| FloatRect page_rect(0, 0, width, height);
|
| - print_context_->begin(page_rect.Width(), page_rect.Height());
|
| + print_context_->BeginPrintMode(page_rect.Width(), page_rect.Height());
|
| float dummy_height;
|
| print_context_->ComputePageRects(page_rect, 0, 0, 1.0, dummy_height);
|
| DispatchEventsForPrintingOnAllFrames();
|
| @@ -3049,7 +3049,7 @@ void FrameView::SetupPrintContext() {
|
| void FrameView::ClearPrintContext() {
|
| if (!print_context_)
|
| return;
|
| - print_context_->end();
|
| + print_context_->EndPrintMode();
|
| print_context_.Clear();
|
| }
|
|
|
|
|