summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLCanvasElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLCanvasElement.h')
-rw-r--r--WebCore/html/HTMLCanvasElement.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/WebCore/html/HTMLCanvasElement.h b/WebCore/html/HTMLCanvasElement.h
index 01665c8..e6c0155 100644
--- a/WebCore/html/HTMLCanvasElement.h
+++ b/WebCore/html/HTMLCanvasElement.h
@@ -32,6 +32,14 @@
#include "HTMLElement.h"
#include "IntSize.h"
+#if PLATFORM(CHROMIUM)
+#define DefaultInterpolationQuality InterpolationMedium
+#elif PLATFORM(CG)
+#define DefaultInterpolationQuality InterpolationLow
+#else
+#define DefaultInterpolationQuality InterpolationDefault
+#endif
+
namespace WebCore {
class CanvasContextAttributes;