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

Unified Diff: Source/core/html/HTMLImageElement.h

Issue 19393004: Allow eviction of ImageBitmaps that are created from ImageElements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix drawImage out of bounds src rect. Created 7 years, 5 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
Index: Source/core/html/HTMLImageElement.h
diff --git a/Source/core/html/HTMLImageElement.h b/Source/core/html/HTMLImageElement.h
index c4f9e31deeecd2a805121989e5a4ea061a50fbfd..45036310da38c0ebc2b74c6f8e7a5ad8a868cabf 100644
--- a/Source/core/html/HTMLImageElement.h
+++ b/Source/core/html/HTMLImageElement.h
@@ -76,6 +76,9 @@ public:
virtual bool canContainRangeEndPoint() const { return false; }
+ void addClient(ImageLoaderClient* client) { m_imageLoader.addClient(client); }
+ void removeClient(ImageLoaderClient* client) { m_imageLoader.removeClient(client); }
+
protected:
HTMLImageElement(const QualifiedName&, Document*, HTMLFormElement* = 0);

Powered by Google App Engine
This is Rietveld 408576698