| 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 12bed3d6427b5c6f8ce4e2ba2c2fdc17ab33613b..4b60473f0423b4241e5c26cc501a976a129d8645 100644
|
| --- a/third_party/WebKit/Source/core/page/PrintContext.cpp
|
| +++ b/third_party/WebKit/Source/core/page/PrintContext.cpp
|
| @@ -151,8 +151,8 @@ void PrintContext::ComputePageRectsWithPageSizeInternal(
|
| }
|
|
|
| void PrintContext::BeginPrintMode(float width, float height) {
|
| - ASSERT(width > 0);
|
| - ASSERT(height > 0);
|
| + DCHECK_GT(width, 0);
|
| + DCHECK_GT(height, 0);
|
|
|
| // This function can be called multiple times to adjust printing parameters
|
| // without going back to screen mode.
|
|
|