Build fix.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Apr 2011 18:19:04 +0000 (18:19 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Apr 2011 18:19:04 +0000 (18:19 +0000)
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::State::State):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@83457 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp

index b6495e8d2f564cbc89933168059261e735c9758b..f974d30ce5f00b30d88ee96c812fd352a186ce5b 100644 (file)
@@ -1,3 +1,10 @@
+2011-04-11  Dan Bernstein  <mitz@apple.com>
+
+        Build fix.
+
+        * html/canvas/CanvasRenderingContext2D.cpp:
+        (WebCore::CanvasRenderingContext2D::State::State):
+
 2011-04-11  Antti Koivisto  <antti@apple.com>
 
         Reviewed by Tony Gentilcore.
index 1e523c7d92cdea2ba5c62678d10086f46db46196..afccff397b5240923c6e8a2029077c4af00099a6 100644 (file)
@@ -195,8 +195,7 @@ void CanvasRenderingContext2D::reset()
 }
 
 CanvasRenderingContext2D::State::State()
-    : FontSelectorClient()
-    , m_strokeStyle(CanvasStyle::createFromRGBA(Color::black))
+    : m_strokeStyle(CanvasStyle::createFromRGBA(Color::black))
     , m_fillStyle(CanvasStyle::createFromRGBA(Color::black))
     , m_lineWidth(1)
     , m_lineCap(ButtCap)
@@ -215,6 +214,7 @@ CanvasRenderingContext2D::State::State()
 }
 
 CanvasRenderingContext2D::State::State(const State& other)
+    : FontSelectorClient()
 {
     m_unparsedStrokeColor = other.m_unparsedStrokeColor;
     m_unparsedFillColor = other.m_unparsedFillColor;