Not reviewed, fix Windows build after r115165.
authoreric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Apr 2012 13:57:20 +0000 (13:57 +0000)
committereric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Apr 2012 13:57:20 +0000 (13:57 +0000)
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateCompositingLayers): Initialize logging variable.

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

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayerCompositor.cpp

index 01115b1..a84be7b 100644 (file)
@@ -1,3 +1,10 @@
+2012-04-25  Eric Carlson  <eric.carlson@apple.com>
+
+        Not reviewed, fix Windows build after r115165.
+
+        * rendering/RenderLayerCompositor.cpp:
+        (WebCore::RenderLayerCompositor::updateCompositingLayers): Initialize logging variable.
+
 2012-04-25  Florin Malita  <fmalita@chromium.org>
 
         [Coverity] Uninitialized fields in RenderSVGShape constructors
index 2dbf6bc..3651e9e 100644 (file)
@@ -369,7 +369,7 @@ void RenderLayerCompositor::updateCompositingLayers(CompositingUpdateType update
         m_reevaluateCompositingAfterLayout = false;
 
 #if !LOG_DISABLED
-    double startTime;
+    double startTime = 0;
     if (compositingLogEnabled()) {
         ++m_rootLayerUpdateCount;
         startTime = currentTime();