Title: [108874] trunk/Source/WebCore
Revision
108874
Author
msab...@apple.com
Date
2012-02-24 17:11:14 -0800 (Fri, 24 Feb 2012)

Log Message

        Unreviewed, Windows build fix.  Changed "-1" to newly
        created constant JSC::Yarr::offsetNoMatch added in r108858.

        * platform/text/RegularExpression.cpp:
        (WebCore::RegularExpression::match):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (108873 => 108874)


--- trunk/Source/WebCore/ChangeLog	2012-02-25 01:10:21 UTC (rev 108873)
+++ trunk/Source/WebCore/ChangeLog	2012-02-25 01:11:14 UTC (rev 108874)
@@ -1,3 +1,11 @@
+2012-02-24  Michael Saboff  <msab...@apple.com>
+
+        Unreviewed, Windows build fix.  Changed "-1" to newly
+        created constant JSC::Yarr::offsetNoMatch added in r108858.
+
+        * platform/text/RegularExpression.cpp:
+        (WebCore::RegularExpression::match):
+
 2012-02-24  Eric Carlson  <eric.carl...@apple.com>
 
         Update TextTrackCue API

Modified: trunk/Source/WebCore/platform/text/RegularExpression.cpp (108873 => 108874)


--- trunk/Source/WebCore/platform/text/RegularExpression.cpp	2012-02-25 01:10:21 UTC (rev 108873)
+++ trunk/Source/WebCore/platform/text/RegularExpression.cpp	2012-02-25 01:11:14 UTC (rev 108874)
@@ -108,7 +108,7 @@
 
     ASSERT(offsetVector);
     for (unsigned j = 0, i = 0; i < d->m_numSubpatterns + 1; j += 2, i++)
-        offsetVector[j] = -1;
+        offsetVector[j] = JSC::Yarr::offsetNoMatch;
 
     unsigned result;
     if (str.length() <= INT_MAX)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to