| Index: third_party/WebKit/Source/core/layout/LayoutReplaced.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp b/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp
|
| index effc0b90541219cb8685a6389054fa8bc01ac04a..3ced63bdc4f305896eb7fd8dca78bba052894ff3 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp
|
| @@ -120,6 +120,9 @@
|
| && paintInfo.phase != PaintPhaseSelection && paintInfo.phase != PaintPhaseMask && paintInfo.phase != PaintPhaseClippingMask)
|
| return false;
|
|
|
| + if (!paintInfo.shouldPaintWithinRoot(this))
|
| + return false;
|
| +
|
| // if we're invisible or haven't received a layout yet, then just bail.
|
| if (style()->visibility() != VISIBLE)
|
| return false;
|
|
|