Title: [128589] trunk/Source/WebCore
Revision
128589
Author
yo...@chromium.org
Date
2012-09-14 04:57:47 -0700 (Fri, 14 Sep 2012)

Log Message

Unreviewed fix for build break on Chromium-Linux Debug build.

* html/DateTimeFieldsState.cpp: Initialize DateTimeFieldStates::emptyValue.
* html/DateTimeFieldsState.h: Remove initialization of public static member variable emptyValue.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (128588 => 128589)


--- trunk/Source/WebCore/ChangeLog	2012-09-14 11:49:23 UTC (rev 128588)
+++ trunk/Source/WebCore/ChangeLog	2012-09-14 11:57:47 UTC (rev 128589)
@@ -1,5 +1,12 @@
 2012-09-14  Yoshifumi Inoue  <yo...@chromium.org>
 
+        Unreviewed fix for build break on Chromium-Linux Debug build.
+
+        * html/DateTimeFieldsState.cpp: Initialize DateTimeFieldStates::emptyValue.
+        * html/DateTimeFieldsState.h: Remove initialization of public static member variable emptyValue.
+
+2012-09-14  Yoshifumi Inoue  <yo...@chromium.org>
+
         Create Localizer factory method for LocaleNone
         https://bugs.webkit.org/show_bug.cgi?id=96745
 

Modified: trunk/Source/WebCore/html/DateTimeFieldsState.cpp (128588 => 128589)


--- trunk/Source/WebCore/html/DateTimeFieldsState.cpp	2012-09-14 11:49:23 UTC (rev 128588)
+++ trunk/Source/WebCore/html/DateTimeFieldsState.cpp	2012-09-14 11:57:47 UTC (rev 128589)
@@ -31,6 +31,8 @@
 
 namespace WebCore {
 
+const unsigned DateTimeFieldsState::emptyValue = static_cast<unsigned>(-1);
+
 static unsigned getNumberFromFormControlState(const FormControlState& state, size_t index)
 {
     if (index >= state.valueSize())

Modified: trunk/Source/WebCore/html/DateTimeFieldsState.h (128588 => 128589)


--- trunk/Source/WebCore/html/DateTimeFieldsState.h	2012-09-14 11:49:23 UTC (rev 128588)
+++ trunk/Source/WebCore/html/DateTimeFieldsState.h	2012-09-14 11:57:47 UTC (rev 128589)
@@ -47,7 +47,7 @@
         AMPMValuePM,
     };
 
-    static const unsigned emptyValue = static_cast<unsigned>(-1);
+    static const unsigned emptyValue;
 
     DateTimeFieldsState();
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to