Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1026)

Unified Diff: Source/core/frame/SmartClip.cpp

Issue 923953002: Move rendering/RenderImage* to layout/LayoutImage* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/fetch/ImageResourceClient.h ('k') | Source/core/html/HTMLAnchorElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)) {
« no previous file with comments | « Source/core/fetch/ImageResourceClient.h ('k') | Source/core/html/HTMLAnchorElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698