Title: [108043] trunk/Source/WebCore
- Revision
- 108043
- Author
- [email protected]
- Date
- 2012-02-16 23:47:58 -0800 (Thu, 16 Feb 2012)
Log Message
Correct a misleading comment regarding string delimiters in CSS parsing.
https://bugs.webkit.org/show_bug.cgi?id=78521
Reviewed by Zoltan Herczeg.
* css/CSSParser.cpp:
(WebCore::CSSParser::lex):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (108042 => 108043)
--- trunk/Source/WebCore/ChangeLog 2012-02-17 07:44:07 UTC (rev 108042)
+++ trunk/Source/WebCore/ChangeLog 2012-02-17 07:47:58 UTC (rev 108043)
@@ -1,3 +1,13 @@
+2012-02-16 Cris Neckar <[email protected]>
+
+ Correct a misleading comment regarding string delimiters in CSS parsing.
+ https://bugs.webkit.org/show_bug.cgi?id=78521
+
+ Reviewed by Zoltan Herczeg.
+
+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::lex):
+
2012-02-16 Martin Robinson <[email protected]>
Fix the TextureMapper build for GTK+.
Modified: trunk/Source/WebCore/css/CSSParser.cpp (108042 => 108043)
--- trunk/Source/WebCore/css/CSSParser.cpp 2012-02-17 07:44:07 UTC (rev 108042)
+++ trunk/Source/WebCore/css/CSSParser.cpp 2012-02-17 07:47:58 UTC (rev 108043)
@@ -8225,8 +8225,8 @@
UChar* result;
bool hasEscape;
- // The input buffer is terminated by two \0, so
- // it is safe to read two characters ahead anytime.
+ // The input buffer is terminated by a \0 character, so
+ // it is safe to read one character ahead of a known non-null.
#ifndef NDEBUG
// In debug we check with an ASSERT that the length is > 0 for string types.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes