Fix ENABLE(CSS_GRID_LAYOUT) guards harder after r205102/r205292
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Sep 2016 22:13:58 +0000 (22:13 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Sep 2016 22:13:58 +0000 (22:13 +0000)
Unreviewed. Silence unused function warning.

* css/CSSComputedStyleDeclaration.cpp:

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

Source/WebCore/ChangeLog
Source/WebCore/css/CSSComputedStyleDeclaration.cpp

index 474b2a8..c798be1 100644 (file)
@@ -1,3 +1,11 @@
+2016-09-01  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        Fix ENABLE(CSS_GRID_LAYOUT) guards harder after r205102/r205292
+
+        Unreviewed. Silence unused function warning.
+
+        * css/CSSComputedStyleDeclaration.cpp:
+
 2016-09-01  Alex Christensen  <achristensen@webkit.org>
 
         Avoid unneeded string copy when parsing URL hosts
index 2369844..a4a8ca0 100644 (file)
@@ -2286,6 +2286,7 @@ Node* ComputedStyleExtractor::styledNode() const
     return &element;
 }
 
+#if ENABLE(CSS_GRID_LAYOUT)
 static StyleSelfAlignmentData resolveLegacyJustifyItems(const StyleSelfAlignmentData& data)
 {
     if (data.positionType() == LegacyPosition)
@@ -2293,7 +2294,6 @@ static StyleSelfAlignmentData resolveLegacyJustifyItems(const StyleSelfAlignment
     return data;
 }
 
-#if ENABLE(CSS_GRID_LAYOUT)
 static StyleSelfAlignmentData resolveJustifyItemsAuto(const StyleSelfAlignmentData& data, Node* parent)
 {
     if (data.position() != ItemPositionAuto)