Title: [165897] trunk/Source/WebCore
Revision
165897
Author
timothy_hor...@apple.com
Date
2014-03-19 09:00:13 -0700 (Wed, 19 Mar 2014)

Log Message

Fix the iOS build.

* html/BaseDateAndTimeInputType.cpp:
(WebCore::BaseDateAndTimeInputType::parseToDateComponents):
Missing a StringView().

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (165896 => 165897)


--- trunk/Source/WebCore/ChangeLog	2014-03-19 15:39:06 UTC (rev 165896)
+++ trunk/Source/WebCore/ChangeLog	2014-03-19 16:00:13 UTC (rev 165897)
@@ -1,3 +1,11 @@
+2014-03-19  Tim Horton  <timothy_hor...@apple.com>
+
+        Fix the iOS build.
+
+        * html/BaseDateAndTimeInputType.cpp:
+        (WebCore::BaseDateAndTimeInputType::parseToDateComponents):
+        Missing a StringView().
+
 2014-03-19  Antti Koivisto  <an...@apple.com>
 
         Tighten ElementRuleCollector::m_matchedRuleList typing

Modified: trunk/Source/WebCore/html/BaseDateAndTimeInputType.cpp (165896 => 165897)


--- trunk/Source/WebCore/html/BaseDateAndTimeInputType.cpp	2014-03-19 15:39:06 UTC (rev 165896)
+++ trunk/Source/WebCore/html/BaseDateAndTimeInputType.cpp	2014-03-19 16:00:13 UTC (rev 165897)
@@ -40,6 +40,7 @@
 #include <wtf/CurrentTime.h>
 #include <wtf/DateMath.h>
 #include <wtf/MathExtras.h>
+#include <wtf/text/StringView.h>
 
 namespace WebCore {
 
@@ -108,7 +109,7 @@
     DateComponents ignoredResult;
     if (!out)
         out = &ignoredResult;
-    return parseToDateComponentsInternal(source.upconvertedCharacters(), source.length(), out);
+    return parseToDateComponentsInternal(StringView(source).upconvertedCharacters(), source.length(), out);
 }
 
 String BaseDateAndTimeInputType::serialize(const Decimal& value) const
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to