| Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| index 5a6ae9c2e13af38cd10e7f54daab5e03300cb3a8..49d25e0e6202d58062c54e21c0851061e72b01a4 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| @@ -3998,9 +3998,7 @@
|
| for (FloatingObjectSetIterator it = floatingObjectSet.end(); it != begin;) {
|
| --it;
|
| const FloatingObject& floatingObject = *it->get();
|
| - if (floatingObject.shouldPaint() &&
|
| - // TODO(wangxianzhu): Should this be a DCHECK?
|
| - !floatingObject.layoutObject()->hasSelfPaintingLayer()) {
|
| + if (floatingObject.shouldPaint()) {
|
| LayoutUnit xOffset = xPositionForFloatIncludingMargin(floatingObject) -
|
| floatingObject.layoutObject()->location().x();
|
| LayoutUnit yOffset = yPositionForFloatIncludingMargin(floatingObject) -
|
| @@ -4053,7 +4051,7 @@
|
| return fixedOffset;
|
| }
|
|
|
| -void LayoutBlockFlow::updateAncestorShouldPaintFloatingObject(
|
| +void LayoutBlockFlow::setAncestorShouldPaintFloatingObject(
|
| const LayoutBox& floatBox) {
|
| ASSERT(floatBox.isFloating());
|
| bool floatBoxIsSelfPaintingLayer =
|
|
|