Index: public/web/WebElement.h |
diff --git a/public/web/WebElement.h b/public/web/WebElement.h |
index ae1a9c21938942cbc68d8a5a1276353c5f3efd59..dbb65744a741613247f72196d7a5bee3e5d55426 100644 |
--- a/public/web/WebElement.h |
+++ b/public/web/WebElement.h |
@@ -84,6 +84,10 @@ struct WebRect; |
// This function will update the layout if required. |
WEBKIT_EXPORT WebRect boundsInViewportSpace(); |
+ // Returns the image contents of this element or a null WebImage |
+ // if there isn't any. |
+ WEBKIT_EXPORT WebImage imageContents(); |
+ |
#if WEBKIT_IMPLEMENTATION |
WebElement(const WTF::PassRefPtr<WebCore::Element>&); |
WebElement& operator=(const WTF::PassRefPtr<WebCore::Element>&); |