| Index: third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| index 5cadf5294dd2359cdc0f632f3a12ecd9e25055c8..e8d2e4aaf0a65abec18ac69a1a22de2302308e53 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| @@ -648,7 +648,7 @@ void PaintLayerPainter::repeatFixedPositionObjectInPages(
|
| LayoutPoint offsetFromRoot;
|
| m_paintLayer.convertToLayerCoords(paintingInfo.rootLayer, offsetFromRoot);
|
| LayoutSize offsetAdjustment = m_paintLayer.location() - offsetFromRoot;
|
| - layerFragments.append(singleFragmentIgnoredPagination);
|
| + layerFragments.push_back(singleFragmentIgnoredPagination);
|
| layerFragments[0].paginationOffset += offsetAdjustment;
|
| layerFragments[0].layerBounds.move(offsetAdjustment);
|
|
|
| @@ -657,7 +657,7 @@ void PaintLayerPainter::repeatFixedPositionObjectInPages(
|
| PaintLayerFragment fragment = layerFragments[i - 1];
|
| fragment.paginationOffset += pageOffset;
|
| fragment.layerBounds.moveBy(pageOffset);
|
| - layerFragments.append(fragment);
|
| + layerFragments.push_back(fragment);
|
| }
|
| }
|
|
|
| @@ -690,7 +690,7 @@ PaintResult PaintLayerPainter::paintLayerWithTransform(
|
| if (isFixedPositionObjectInPagedMedia)
|
| repeatFixedPositionObjectInPages(fragment, paintingInfo, layerFragments);
|
| else
|
| - layerFragments.append(fragment);
|
| + layerFragments.push_back(fragment);
|
| } else {
|
| // FIXME: This is a mess. Look closely at this code and the code in Layer
|
| // and fix any issues in it & refactor to make it obvious from code
|
|
|