Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Unified Diff: Source/WebCore/css/CSSParser.cpp

Issue 9381012: Merge 107369 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/css/parsing-css-comment-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/css/CSSParser.cpp
===================================================================
--- Source/WebCore/css/CSSParser.cpp (revision 107410)
+++ Source/WebCore/css/CSSParser.cpp (working copy)
@@ -8541,9 +8541,9 @@
if (*m_currentCharacter == '*') {
++m_currentCharacter;
while (m_currentCharacter[0] != '*' || m_currentCharacter[1] != '/') {
- if (m_currentCharacter[0] == '\n')
+ if (*m_currentCharacter == '\n')
++m_lineNumber;
- if (m_currentCharacter[0] == '\0' && m_currentCharacter[1] == '\0') {
+ if (*m_currentCharacter == '\0') {
// Unterminated comments are simply ignored.
m_currentCharacter -= 2;
break;
« no previous file with comments | « LayoutTests/fast/css/parsing-css-comment-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698