Uninitialized variables in RenderLayer
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Dec 2019 08:40:48 +0000 (08:40 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Dec 2019 08:40:48 +0000 (08:40 +0000)
https://bugs.webkit.org/show_bug.cgi?id=205165

Reviewed by Simon Fraser.

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::RenderLayer): Initialize m_isNormalFlowOnly and m_isCSSStackingContext.

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

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayer.cpp

index 35d1d34..f84764a 100644 (file)
@@ -1,3 +1,13 @@
+2019-12-13  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        Uninitialized variables in RenderLayer
+        https://bugs.webkit.org/show_bug.cgi?id=205165
+
+        Reviewed by Simon Fraser.
+
+        * rendering/RenderLayer.cpp:
+        (WebCore::RenderLayer::RenderLayer): Initialize m_isNormalFlowOnly and m_isCSSStackingContext.
+
 2019-12-12  Joonghun Park  <jh718.park@samsung.com>
 
         Unreviewed. Fix the build warnings below since r253353.
index d84ad1a..544f206 100644 (file)
@@ -286,6 +286,8 @@ static TextStream& operator<<(TextStream& ts, const ClipRects& clipRects)
 RenderLayer::RenderLayer(RenderLayerModelObject& rendererLayerModelObject)
     : m_isRenderViewLayer(rendererLayerModelObject.isRenderView())
     , m_forcedStackingContext(rendererLayerModelObject.isMedia())
+    , m_isNormalFlowOnly(false)
+    , m_isCSSStackingContext(false)
     , m_isOpportunisticStackingContext(false)
     , m_zOrderListsDirty(false)
     , m_normalFlowListDirty(true)