| Index: third_party/WebKit/Source/core/frame/SmartClip.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/SmartClip.cpp b/third_party/WebKit/Source/core/frame/SmartClip.cpp
|
| index c8d6c39da4af8eca7d68722a63f3207921e669e8..c12b286334032d6c285f4805d3296242e23d2cd0 100644
|
| --- a/third_party/WebKit/Source/core/frame/SmartClip.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/SmartClip.cpp
|
| @@ -88,7 +88,7 @@ SmartClipData SmartClip::dataForRect(const IntRect& cropRectInViewport) {
|
|
|
| if (hitNodes.isEmpty() || hitNodes.size() == bestNode->countChildren()) {
|
| hitNodes.clear();
|
| - hitNodes.append(bestNode);
|
| + hitNodes.push_back(bestNode);
|
| }
|
|
|
| // Unite won't work with the empty rect, so we initialize to the first rect.
|
| @@ -229,7 +229,7 @@ void SmartClip::collectOverlappingChildNodes(
|
| child = child->nextSibling()) {
|
| IntRect childRect = child->pixelSnappedBoundingBox();
|
| if (resizedCropRect.intersects(childRect))
|
| - hitNodes.append(child);
|
| + hitNodes.push_back(child);
|
| }
|
| }
|
|
|
|
|