ENABLE(CSS_GRID_LAYOUT) guard for CSSGridLineNamesValue
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Mar 2014 17:13:03 +0000 (17:13 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Mar 2014 17:13:03 +0000 (17:13 +0000)
https://bugs.webkit.org/show_bug.cgi?id=130669

Patch by Martin Hodovan <mhodovan@inf.u-szeged.hu> on 2014-03-24
Reviewed by Sergio Villar Senin.

No new tests. No new functionality.

* css/CSSGridLineNamesValue.cpp:
* css/CSSGridLineNamesValue.h:

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

Source/WebCore/ChangeLog
Source/WebCore/css/CSSGridLineNamesValue.cpp
Source/WebCore/css/CSSGridLineNamesValue.h

index 56b2b15..84e57b7 100644 (file)
@@ -1,3 +1,15 @@
+2014-03-24  Martin Hodovan  <mhodovan@inf.u-szeged.hu>
+
+        ENABLE(CSS_GRID_LAYOUT) guard for CSSGridLineNamesValue
+        https://bugs.webkit.org/show_bug.cgi?id=130669
+
+        Reviewed by Sergio Villar Senin.
+
+        No new tests. No new functionality.
+
+        * css/CSSGridLineNamesValue.cpp:
+        * css/CSSGridLineNamesValue.h:
+
 2014-03-24  Chris Fleizach  <cfleizach@apple.com>
 
         <hr> should expose AXRole/AXSubrole, etc
index 40684f1..53d6010 100644 (file)
@@ -31,6 +31,7 @@
 #include "config.h"
 #include "CSSGridLineNamesValue.h"
 
+#if ENABLE(CSS_GRID_LAYOUT)
 namespace WebCore {
 
 String CSSGridLineNamesValue::customCSSText() const
@@ -50,3 +51,4 @@ PassRefPtr<CSSGridLineNamesValue> CSSGridLineNamesValue::cloneForCSSOM() const
 
 }
 
+#endif
index 6a5b7b5..1b0d1b8 100644 (file)
@@ -31,6 +31,7 @@
 #ifndef CSSGridLineNamesValue_h
 #define CSSGridLineNamesValue_h
 
+#if ENABLE(CSS_GRID_LAYOUT)
 #include "CSSValueList.h"
 #include <wtf/PassRefPtr.h>
 
@@ -56,3 +57,4 @@ CSS_VALUE_TYPE_CASTS(CSSGridLineNamesValue, isGridLineNamesValue());
 }
 
 #endif
+#endif