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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.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/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();
}

Powered by Google App Engine
This is Rietveld 408576698