| Index: third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm
|
| diff --git a/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm b/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm
|
| index b427fca1ade32320b949b88940caf8cdeac67850..da5c2febb4ffbb0dc7298da0c8e83ba9a2baab0f 100644
|
| --- a/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm
|
| +++ b/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm
|
| @@ -52,9 +52,10 @@ LocalCurrentGraphicsContext::LocalCurrentGraphicsContext(
|
| m_savedCanvas = canvas;
|
| canvas->save();
|
|
|
| - // Constrain the maximum size of what we paint to something reasonable. This accordingly
|
| - // means we will not paint the entirety of truly huge native form elements, which is
|
| - // deemed an acceptable tradeoff for this simple approach to manage such an edge case.
|
| + // Constrain the maximum size of what we paint to something reasonable. This
|
| + // accordingly means we will not paint the entirety of truly huge native form
|
| + // elements, which is deemed an acceptable tradeoff for this simple approach
|
| + // to manage such an edge case.
|
| if (dirtyRect.width() > kMaxDirtyRectPixelSize ||
|
| dirtyRect.height() > kMaxDirtyRectPixelSize)
|
| canvas->clipRect(clampRect(kMaxDirtyRectPixelSize, dirtyRect),
|
|
|