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

Unified Diff: Source/web/WebLocalFrameImpl.cpp

Issue 465983003: Delete PrintContext::spoolAllPagesWithBoundaries (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/core/page/PrintContext.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebLocalFrameImpl.cpp
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
index cbc6967aea0ffae5610e184f3e6d529c36595f90..1221b642b49a039959af1043a5994c596d86d4f1 100644
--- a/Source/web/WebLocalFrameImpl.cpp
+++ b/Source/web/WebLocalFrameImpl.cpp
@@ -302,11 +302,6 @@ public:
PrintContext::begin(m_printedPageWidth, height);
}
- virtual void end()
- {
- PrintContext::end();
Vitaly Buka (NO REVIEWS) 2014/08/13 19:37:07 it's incorrect to remove this calls base class has
- }
-
virtual float getPageShrink(int pageNumber) const
{
IntRect pageRect = m_pageRects[pageNumber];
@@ -381,16 +376,6 @@ public:
}
}
- virtual void computePageRects(const FloatRect& printRect, float headerHeight, float footerHeight, float userScaleFactor, float& outPageHeight)
- {
Vitaly Buka (NO REVIEWS) 2014/08/13 19:37:07 same
- PrintContext::computePageRects(printRect, headerHeight, footerHeight, userScaleFactor, outPageHeight);
- }
-
- virtual int pageCount() const
- {
- return PrintContext::pageCount();
- }
-
private:
// Set when printing.
float m_printedPageWidth;
« no previous file with comments | « Source/core/page/PrintContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698