| Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| index aabe1c5f5f715dabeeb6687319411f2a189aab07..a4e6cd8ef055c9899c304c135659b2a405990ca4 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -774,6 +774,23 @@ void PaintLayer::update3DTransformedDescendantStatus() {
|
| void PaintLayer::updateLayerPosition() {
|
| LayoutPoint localPoint;
|
|
|
| + if (!layoutObject().isOutOfFlowPositioned() && parent() &&
|
| + parent()->layoutObject().isLayoutInline() &&
|
| + ((parent()->parent() &&
|
| + !parent()->parent()->layoutObject().isLayoutBlock()) ||
|
| + parent()->location() != LayoutPoint())) {
|
| + auto reason = layoutObject().isFloating() ? ReasonLOFloatLayerBug1
|
| + : ReasonLOFloatLayerBug2;
|
| + for (LayoutObject* object = layoutObject().parent();
|
| + object && object != parent()->layoutObject();
|
| + object = object->parent()) {
|
| + if (object->isFloating()) {
|
| + object->m_rareStat.addReason(reason);
|
| + LOG(ERROR) << "Found: !!! " << reason;
|
| + }
|
| + }
|
| + }
|
| +
|
| bool didResize = false;
|
| if (layoutObject().isInline() && layoutObject().isLayoutInline()) {
|
| LayoutInline& inlineFlow = toLayoutInline(layoutObject());
|
|
|