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

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 for assertion failure. Created 7 years, 4 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 9cebf82fa8cf65900381d7ba158107b3796ae88e..7810d2886cf6518cdc06a5b7eae8c4027abca213 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