Index: Source/core/frame/SmartClip.cpp |
diff --git a/Source/core/frame/SmartClip.cpp b/Source/core/frame/SmartClip.cpp |
index 52f9b03dabd35fe7f9dd55c77a12029ce95d0838..ddebf18b139d06142b5d6227121f36796c841e4d 100644 |
--- a/Source/core/frame/SmartClip.cpp |
+++ b/Source/core/frame/SmartClip.cpp |
@@ -111,7 +111,7 @@ SmartClipData SmartClip::dataForRect(const IntRect& cropRect) |
Vector<Node*> hitNodes; |
collectOverlappingChildNodes(bestNode, resizedCropRect, hitNodes); |
- if (hitNodes.isEmpty() || hitNodes.size() == bestNode->childNodeCount()) { |
+ if (hitNodes.isEmpty() || hitNodes.size() == bestNode->countChildren()) { |
hitNodes.clear(); |
hitNodes.append(bestNode); |
} |