Title: [127303] trunk/Source/WebCore
Revision
127303
Author
[email protected]
Date
2012-08-31 12:51:17 -0700 (Fri, 31 Aug 2012)

Log Message

Fix the Debug builds after r127277

Unreviewed.

One assertion was not updated in r127277. The encapsulation of CSSParserString's length
has changed and now use an accessor.

Patch by Benjamin Poulain <[email protected]> on 2012-08-31

* css/CSSParser.cpp:
(WebCore::CSSParser::storeVariableDeclaration):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (127302 => 127303)


--- trunk/Source/WebCore/ChangeLog	2012-08-31 19:49:00 UTC (rev 127302)
+++ trunk/Source/WebCore/ChangeLog	2012-08-31 19:51:17 UTC (rev 127303)
@@ -1,3 +1,15 @@
+2012-08-31  Benjamin Poulain  <[email protected]>
+
+        Fix the Debug builds after r127277
+
+        Unreviewed.
+
+        One assertion was not updated in r127277. The encapsulation of CSSParserString's length
+        has changed and now use an accessor.
+
+        * css/CSSParser.cpp:
+        (WebCore::CSSParser::storeVariableDeclaration):
+
 2012-08-31  Simon Fraser  <[email protected]>
 
         (Regression: r126774): Fix crash when scrolling after removing inline sticky element

Modified: trunk/Source/WebCore/css/CSSParser.cpp (127302 => 127303)


--- trunk/Source/WebCore/css/CSSParser.cpp	2012-08-31 19:49:00 UTC (rev 127302)
+++ trunk/Source/WebCore/css/CSSParser.cpp	2012-08-31 19:51:17 UTC (rev 127303)
@@ -3099,7 +3099,7 @@
     if (!value)
         return;
     
-    ASSERT(name.length > 12);
+    ASSERT(name.length() > 12);
     AtomicString variableName = name.is8Bit() ? AtomicString(name.characters8() + 12, name.length() - 12) : AtomicString(name.characters16() + 12, name.length() - 12);
 
     StringBuilder builder;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to