BUILD FIX (r153990): Add UNUSED_PARAM for heightChanged when CSS_SHAPES is disabled
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 18 Aug 2013 14:39:43 +0000 (14:39 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 18 Aug 2013 14:39:43 +0000 (14:39 +0000)
Fixes the following build failure:

    WebCore/rendering/RenderBlock.cpp:1529:53: error: unused parameter 'heightChanged' [-Werror,-Wunused-parameter]
    void RenderBlock::updateShapesAfterBlockLayout(bool heightChanged)
                                                        ^
    1 error generated.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::updateShapesAfterBlockLayout): Add
UNUSED_PARAM(heightChanged) when CSS_SHAPES is disabled.

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

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBlock.cpp

index e97ae625389532aa060d38214fe98599a539955d..0db4a2bf7bd74c7048ed530803f1bd7a8dde5d46 100644 (file)
@@ -1,3 +1,18 @@
+2013-08-18  David Kilzer  <ddkilzer@apple.com>
+
+        BUILD FIX (r153990): Add UNUSED_PARAM for heightChanged when CSS_SHAPES is disabled
+
+        Fixes the following build failure:
+
+            WebCore/rendering/RenderBlock.cpp:1529:53: error: unused parameter 'heightChanged' [-Werror,-Wunused-parameter]
+            void RenderBlock::updateShapesAfterBlockLayout(bool heightChanged)
+                                                                ^
+            1 error generated.
+
+        * rendering/RenderBlock.cpp:
+        (WebCore::RenderBlock::updateShapesAfterBlockLayout): Add
+        UNUSED_PARAM(heightChanged) when CSS_SHAPES is disabled.
+
 2013-08-18  Danilo Cesar Lemes de Paula  <danilo.cesar@collabora.co.uk>
 
         [EFL] minor method name fix for the textTrackOffMenuItemText method
index f986532accfd674cbae1c358715a1e103220dafe..1ab6bc661d0f138c3720acc69359ed8322c76225 100644 (file)
@@ -1538,6 +1538,8 @@ void RenderBlock::updateShapesAfterBlockLayout(bool heightChanged)
     ShapeInsideInfo* shapeInsideInfo = layoutShapeInsideInfo();
     if (heightChanged && shapeInsideInfo)
         shapeInsideInfo->dirtyShapeSize();
+#else
+    UNUSED_PARAM(heightChanged);
 #endif
 }