Chromium Code Reviews| 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; |