Bug 1163124 - The initial value of the canvas filter property should be "none". r=roc
authorMarkus Stange <mstange@themasta.com>
Thu, 28 May 2015 17:08:13 -0400
changeset 248335 78923699d3912877f79bb3baea944b140b8930d7
parent 248334 50c97a5a683a5a818976d62d05fecf50c0f80124
child 248336 cf0a2595a1fa4acfb50b25e8580ab2ab944378fd
push id28893
push userkwierso@gmail.com
push dateFri, 12 Jun 2015 00:02:58 +0000
treeherderautoland@8cf9d3e497f9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs1163124
milestone41.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1163124 - The initial value of the canvas filter property should be "none". r=roc
dom/canvas/CanvasRenderingContext2D.h
--- a/dom/canvas/CanvasRenderingContext2D.h
+++ b/dom/canvas/CanvasRenderingContext2D.h
@@ -879,16 +879,17 @@ protected:
                      miterLimit(10.0f),
                      globalAlpha(1.0f),
                      shadowBlur(0.0),
                      dashOffset(0.0f),
                      op(mozilla::gfx::CompositionOp::OP_OVER),
                      fillRule(mozilla::gfx::FillRule::FILL_WINDING),
                      lineCap(mozilla::gfx::CapStyle::BUTT),
                      lineJoin(mozilla::gfx::JoinStyle::MITER_OR_BEVEL),
+                     filterString(MOZ_UTF16("none")),
                      imageSmoothingEnabled(true),
                      fontExplicitLanguage(false)
     { }
 
     ContextState(const ContextState& other)
         : fontGroup(other.fontGroup),
           fontLanguage(other.fontLanguage),
           fontFont(other.fontFont),