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

Unified Diff: Source/WebCore/platform/graphics/Image.h

Issue 7696019: Merge 93441 - REGRESSION(r91628): 3 canvas tests crash on Chromium Linux and one test fail on Chr... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 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
« no previous file with comments | « Source/WebCore/platform/graphics/BitmapImage.h ('k') | Source/WebCore/platform/graphics/Image.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/Image.h
===================================================================
--- Source/WebCore/platform/graphics/Image.h (revision 93492)
+++ Source/WebCore/platform/graphics/Image.h (working copy)
@@ -88,6 +88,7 @@
static bool supportsType(const String&);
virtual bool isBitmapImage() const { return false; }
+ virtual bool currentFrameHasAlpha() { return false; }
// Derived classes should override this if they can assure that
// the image contains only resources from its own security origin.
@@ -157,6 +158,10 @@
virtual void drawPattern(GraphicsContext*, const FloatRect& srcRect, const AffineTransform& patternTransform,
const FloatPoint& phase, ColorSpace styleColorSpace, CompositeOperator, const FloatRect& destRect);
+#if !ASSERT_DISABLED
+ virtual bool notSolidColor() { return true; }
+#endif
+
protected:
Image(ImageObserver* = 0);
« no previous file with comments | « Source/WebCore/platform/graphics/BitmapImage.h ('k') | Source/WebCore/platform/graphics/Image.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698