Index: Source/core/frame/SmartClip.cpp |
diff --git a/Source/core/frame/SmartClip.cpp b/Source/core/frame/SmartClip.cpp |
index 7d40102587a4c113eec5b9c58e2ca44e0b3da037..e610bad2175858ab2e9aa1cf7945a53163810a7d 100644 |
--- a/Source/core/frame/SmartClip.cpp |
+++ b/Source/core/frame/SmartClip.cpp |
@@ -180,7 +180,7 @@ Node* SmartClip::findBestOverlappingNode(Node* rootNode, const IntRect& cropRect |
LayoutObject* renderer = node->renderer(); |
if (renderer && !nodeRect.isEmpty()) { |
if (renderer->isText() |
- || renderer->isRenderImage() |
+ || renderer->isLayoutImage() |
|| node->isFrameOwnerElement() |
|| (renderer->style()->hasBackgroundImage() && !shouldSkipBackgroundImage(node))) { |
if (resizedCropRect.intersects(nodeRect)) { |