Title: [123928] trunk/Source/WebCore
- Revision
- 123928
- Author
- [email protected]
- Date
- 2012-07-27 15:41:12 -0700 (Fri, 27 Jul 2012)
Log Message
Build warning in CSSPrimitiveValueMappings.h when CSS_STICKY_POSITION is disabled
https://bugs.webkit.org/show_bug.cgi?id=92523
Patch by Christophe Dumez <[email protected]> on 2012-07-27
Reviewed by Simon Fraser.
Move #ifdef in CSSPrimitiveValueMappings.h to silent compilation warning
when CSS_STICKY_POSITION is disabled.
No new tests, no behavior change.
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (123927 => 123928)
--- trunk/Source/WebCore/ChangeLog 2012-07-27 22:37:44 UTC (rev 123927)
+++ trunk/Source/WebCore/ChangeLog 2012-07-27 22:41:12 UTC (rev 123928)
@@ -1,3 +1,18 @@
+2012-07-27 Christophe Dumez <[email protected]>
+
+ Build warning in CSSPrimitiveValueMappings.h when CSS_STICKY_POSITION is disabled
+ https://bugs.webkit.org/show_bug.cgi?id=92523
+
+ Reviewed by Simon Fraser.
+
+ Move #ifdef in CSSPrimitiveValueMappings.h to silent compilation warning
+ when CSS_STICKY_POSITION is disabled.
+
+ No new tests, no behavior change.
+
+ * css/CSSPrimitiveValueMappings.h:
+ (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
+
2012-07-27 Vivek Galatage <[email protected]>
DragController should ascertain dragClient to be non-null
Modified: trunk/Source/WebCore/css/CSSPrimitiveValueMappings.h (123927 => 123928)
--- trunk/Source/WebCore/css/CSSPrimitiveValueMappings.h 2012-07-27 22:37:44 UTC (rev 123927)
+++ trunk/Source/WebCore/css/CSSPrimitiveValueMappings.h 2012-07-27 22:41:12 UTC (rev 123928)
@@ -2035,11 +2035,11 @@
case FixedPosition:
m_value.ident = CSSValueFixed;
break;
+ case StickyPosition:
#if ENABLE(CSS_STICKY_POSITION)
- case StickyPosition:
m_value.ident = CSSValueWebkitSticky;
+#endif
break;
-#endif
}
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes