Title: [96913] trunk/Source/WebCore
- Revision
- 96913
- Author
- ann...@chromium.org
- Date
- 2011-10-07 00:59:47 -0700 (Fri, 07 Oct 2011)
Log Message
Adding parens in WebVTTParser.cpp to appease compiler preferences.
https://bugs.webkit.org/show_bug.cgi?id=69602
Reviewed by David Levin.
No new tests. No new functionality.
* html/track/WebVTTParser.cpp:
(WebCore::WebVTTParser::constructTreeFromToken):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (96912 => 96913)
--- trunk/Source/WebCore/ChangeLog 2011-10-07 07:43:10 UTC (rev 96912)
+++ trunk/Source/WebCore/ChangeLog 2011-10-07 07:59:47 UTC (rev 96913)
@@ -1,3 +1,15 @@
+2011-10-07 Anna Cavender <ann...@chromium.org>
+
+ Adding parens in WebVTTParser.cpp to appease compiler preferences.
+ https://bugs.webkit.org/show_bug.cgi?id=69602
+
+ Reviewed by David Levin.
+
+ No new tests. No new functionality.
+
+ * html/track/WebVTTParser.cpp:
+ (WebCore::WebVTTParser::constructTreeFromToken):
+
2011-10-06 Antoine Labour <pi...@chromium.org>
Webkit API for compositor
Modified: trunk/Source/WebCore/html/track/WebVTTParser.cpp (96912 => 96913)
--- trunk/Source/WebCore/html/track/WebVTTParser.cpp 2011-10-07 07:43:10 UTC (rev 96912)
+++ trunk/Source/WebCore/html/track/WebVTTParser.cpp 2011-10-07 07:59:47 UTC (rev 96913)
@@ -339,10 +339,11 @@
}
case WebVTTTokenTypes::EndTag:
if (isRecognizedTag(tokenTagName)
- || m_token.name().size() == 1 && m_token.name()[0] == 'c'
- || m_token.name().size() == 1 && m_token.name()[0] == 'v')
+ || (m_token.name().size() == 1 && m_token.name()[0] == 'c')
+ || (m_token.name().size() == 1 && m_token.name()[0] == 'v')) {
if (m_currentNode->parentNode())
m_currentNode = m_currentNode->parentNode();
+ }
break;
case WebVTTTokenTypes::TimestampTag: {
unsigned position = 0;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes