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

Unified Diff: Source/core/fetch/ImageResource.h

Issue 526153002: Add ImageResource update bitmap images api (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 | « no previous file | Source/core/fetch/ImageResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ImageResource.h
diff --git a/Source/core/fetch/ImageResource.h b/Source/core/fetch/ImageResource.h
index 2d043a4ebec74982568572d84eeb405f93e2d76c..153ac6ae193c5e68eabfbcb75c08415ff13165dd 100644
--- a/Source/core/fetch/ImageResource.h
+++ b/Source/core/fetch/ImageResource.h
@@ -81,6 +81,8 @@ public:
LayoutSize imageSizeForRenderer(const RenderObject*, float multiplier, SizeType = NormalSize); // returns the size of the complete image.
void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio);
+ static void updateBitmapImages(HashSet<ImageResource*>&, bool redecodeImages = false);
pdr. 2014/09/03 03:05:12 I'm concerned about adding more bitmap-specific co
pdr. 2014/09/05 07:04:38 Can you change this to updateBitmapImagesForColorC
+
bool isAccessAllowed(SecurityOrigin*);
virtual void didAddClient(ResourceClient*) OVERRIDE;
« no previous file with comments | « no previous file | Source/core/fetch/ImageResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698