[EFL] Unreviewed build fix after r154430.
authorryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Aug 2013 02:06:37 +0000 (02:06 +0000)
committerryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Aug 2013 02:06:37 +0000 (02:06 +0000)
* rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::hasFilters): Added CSS_FILTERS guard.

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

Source/WebCore/ChangeLog
Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp

index e2cc958..64dd682 100644 (file)
@@ -1,3 +1,10 @@
+2013-08-21  Ryuan Choi  <ryuan.choi@samsung.com>
+
+        [EFL] Unreviewed build fix after r154430.
+
+        * rendering/style/StyleRareNonInheritedData.cpp:
+        (WebCore::StyleRareNonInheritedData::hasFilters): Added CSS_FILTERS guard.
+
 2013-08-21  Simon Fraser  <simon.fraser@apple.com>
 
         Setting -webkit-filter: in :active selector causes failure to redraw
index 216d787..a1855e0 100644 (file)
@@ -328,7 +328,11 @@ bool StyleRareNonInheritedData::transitionDataEquivalent(const StyleRareNonInher
 
 bool StyleRareNonInheritedData::hasFilters() const
 {
+#if ENABLE(CSS_FILTERS)
     return m_filter.get() && !m_filter->m_operations.isEmpty();
+#else
+    return false;
+#endif
 }
 
 } // namespace WebCore