Index: java/org/chromium/distiller/webdocument/WebImage.java |
diff --git a/java/org/chromium/distiller/webdocument/WebImage.java b/java/org/chromium/distiller/webdocument/WebImage.java |
index d58f4e43bf0159c9aa8eea5fe07ba2bfc348bf26..932897818fe1a3a1c868a78bb67d6ea55125911a 100644 |
--- a/java/org/chromium/distiller/webdocument/WebImage.java |
+++ b/java/org/chromium/distiller/webdocument/WebImage.java |
@@ -110,4 +110,11 @@ public class WebImage extends WebElement { |
list.addAll(DomUtil.getSrcSetUrls(clonedImg)); |
return list; |
} |
+ |
+ protected ImageElement getProcessedNode() { |
+ if (clonedImg == null) { |
+ cloneAndProcessNode(); |
+ } |
+ return clonedImg; |
+ } |
} |