| Index: third_party/WebKit/Source/core/page/PrintContext.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/PrintContext.cpp b/third_party/WebKit/Source/core/page/PrintContext.cpp
|
| index 3bcbfa79f16b12541ca8f852d6d8331f6617c75d..1dc1f198989279bbdc5d206ee72ab951aeda8567 100644
|
| --- a/third_party/WebKit/Source/core/page/PrintContext.cpp
|
| +++ b/third_party/WebKit/Source/core/page/PrintContext.cpp
|
| @@ -150,6 +150,9 @@ void PrintContext::computePageRectsWithPageSizeInternal(const FloatSize& pageSiz
|
|
|
| void PrintContext::begin(float width, float height)
|
| {
|
| + ASSERT(width > 0);
|
| + ASSERT(height > 0);
|
| +
|
| // This function can be called multiple times to adjust printing parameters without going back to screen mode.
|
| m_isPrinting = true;
|
|
|
|
|