| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index b5e23dc21e43ff9c6526c74dbc4cf05f9c910de0..cb6243a70c4be2a80c74b56b66a3f09cb4635589 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -2441,7 +2441,7 @@ void LayoutObject::addLayerHitTestRects(LayerHitTestRects& layerRects,
|
| iterValue = &iter->value;
|
| for (size_t i = 0; i < ownRects.size(); i++) {
|
| if (!containerRect.contains(ownRects[i])) {
|
| - iterValue->append(ownRects[i]);
|
| + iterValue->push_back(ownRects[i]);
|
| if (iterValue->size() > maxRectsPerLayer) {
|
| // Just mark the entire layer instead, and switch to walking the layer
|
| // tree instead of the layout tree.
|
| @@ -3130,7 +3130,7 @@ void LayoutObject::addAnnotatedRegions(Vector<AnnotatedRegionValue>& regions) {
|
| AnnotatedRegionValue region;
|
| region.draggable = style()->getDraggableRegionMode() == DraggableRegionDrag;
|
| region.bounds = LayoutRect(absBounds);
|
| - regions.append(region);
|
| + regions.push_back(region);
|
| }
|
|
|
| bool LayoutObject::willRenderImage() {
|
|
|