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

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

Issue 201513003: Implement InterpolationMedium to filter animated images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/HTMLCanvasElement.h
diff --git a/Source/core/html/HTMLCanvasElement.h b/Source/core/html/HTMLCanvasElement.h
index 99a1d1c9b5cb00587dd1c6470be6ac0f0140d061..a22c056a7a652beda5dc8016575c0cdc78e9b781 100644
--- a/Source/core/html/HTMLCanvasElement.h
+++ b/Source/core/html/HTMLCanvasElement.h
@@ -33,9 +33,10 @@
#include "platform/geometry/FloatRect.h"
#include "platform/geometry/IntSize.h"
#include "platform/graphics/Canvas2DLayerBridge.h"
+#include "platform/graphics/GraphicsTypes.h"
#include "wtf/Forward.h"
-#define DefaultInterpolationQuality InterpolationMedium
+#define DefaultInterpolationQuality InterpolationLow
namespace WebCore {
@@ -100,7 +101,7 @@ public:
void didDraw(const FloatRect&);
void notifyObserversCanvasChanged(const FloatRect&);
- void paint(GraphicsContext*, const LayoutRect&, bool useLowQualityScale = false);
+ void paint(GraphicsContext*, const LayoutRect&, InterpolationQuality = InterpolationDefault);
GraphicsContext* drawingContext() const;
GraphicsContext* existingDrawingContext() const;

Powered by Google App Engine
This is Rietveld 408576698