| Index: third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/BlockPainter.cpp b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| index c17939e17e86c1b9a69b32fe410eae55c1d3eca3..a6154a5a7b35cb8668c9b18ae76c2babab9c7f58 100644
|
| --- a/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| @@ -42,7 +42,7 @@ void BlockPainter::paint(const PaintInfo& paintInfo,
|
| // for.
|
| // FIXME: reduce the number of such cases.
|
| ContentsClipBehavior contentsClipBehavior = ForceContentsClip;
|
| - if (m_layoutBlock.hasOverflowClip() && !m_layoutBlock.hasControlClip() &&
|
| + if (m_layoutBlock.shouldClipOverflow() && !m_layoutBlock.hasControlClip() &&
|
| !m_layoutBlock.hasCaret())
|
| contentsClipBehavior = SkipContentsClipIfPossible;
|
|
|
|
|