Reviewed by Darin.
authorweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Feb 2007 04:20:02 +0000 (04:20 +0000)
committerweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Feb 2007 04:20:02 +0000 (04:20 +0000)
        - fix http://bugs.webkit.org/show_bug.cgi?id=12510
        Initialize the variable m_totalLoops
        Is tested by LayoutTests/fast/css/MarqueeLayoutTest.html

        * rendering/RenderLayer.cpp:
        (WebCore::Marquee::Marquee):

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

WebCore/ChangeLog
WebCore/rendering/RenderLayer.cpp

index 3a180d7..7c76fb6 100644 (file)
@@ -1,3 +1,14 @@
+2007-01-31  David Carson  <dacarson@gmail.com>
+
+        Reviewed by Darin.
+
+        - fix http://bugs.webkit.org/show_bug.cgi?id=12510
+        Initialize the variable m_totalLoops
+        Is tested by LayoutTests/fast/css/MarqueeLayoutTest.html
+
+        * rendering/RenderLayer.cpp:
+        (WebCore::Marquee::Marquee):
+
 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
 
         Reviewed by Maciej.
index b029f58..11df6c7 100644 (file)
@@ -2052,6 +2052,7 @@ void RenderLayer::suspendMarquees()
 
 Marquee::Marquee(RenderLayer* l)
     : m_layer(l), m_currentLoop(0)
+    , m_totalLoops(0)
     , m_timer(this, &Marquee::timerFired)
     , m_start(0), m_end(0), m_speed(0), m_reset(false)
     , m_suspended(false), m_stopped(false), m_direction(MAUTO)