Index: third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp |
diff --git a/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp b/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp |
index a738ac0d1f16e935061db18fedad2c89af7dd9e9..ece11f530e4ea7cb904157b9db48665d2a287efb 100644 |
--- a/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp |
+++ b/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp |
@@ -50,7 +50,7 @@ static void getObjectStack(const LayoutObject* ro, |
Vector<const LayoutObject*>* roStack) { |
roStack->clear(); |
while (ro) { |
- roStack->append(ro); |
+ roStack->push_back(ro); |
ro = ro->parent(); |
} |
} |
@@ -125,8 +125,8 @@ static bool intersectsRect(const LayoutObject* renderer, const IntRect& rect) { |
static void addToOcclusions(const LayoutBox* renderer, |
Vector<IntRect>& occlusions) { |
- occlusions.append(IntRect(roundedIntPoint(renderer->localToAbsolute()), |
- flooredIntSize(renderer->size()))); |
+ occlusions.push_back(IntRect(roundedIntPoint(renderer->localToAbsolute()), |
+ flooredIntSize(renderer->size()))); |
} |
static void addTreeToOcclusions(const LayoutObject* renderer, |