Commit eef07d24 authored by macpherson@chromium.org's avatar macpherson@chromium.org
Browse files

Remove unnecessary variable reassignment in CSSParser::parseImageSet().

https://bugs.webkit.org/show_bug.cgi?id=84204

Reviewed by Kentaro Hara.

Code calls next and then current instead of reusing the result of next.

No new tests / no functionality changed.

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


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114500 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent cd728636
2012-04-18 Luke Macpherson <macpherson@chromium.org>
Remove unnecessary variable reassignment in CSSParser::parseImageSet().
https://bugs.webkit.org/show_bug.cgi?id=84204
Reviewed by Kentaro Hara.
Code calls next and then current instead of reusing the result of next.
No new tests / no functionality changed.
* css/CSSParser.cpp:
(WebCore::CSSParser::parseImageSet):
2012-04-18 Jason Liu <jason.liu@torchmobile.com.cn>
 
[BlackBerry] HTTP GET header has a "Cookie" when refreshing a page after cookies have been cleared.
......@@ -6754,7 +6754,8 @@ PassRefPtr<CSSValue> CSSParser::parseImageSet(CSSParserValueList* valueList)
RefPtr<CSSImageSetValue> imageSet = CSSImageSetValue::create();
while (CSSParserValue* arg = functionArgs->current()) {
CSSParserValue* arg = functionArgs->current();
while (arg) {
if (arg->unit != CSSPrimitiveValue::CSS_URI)
return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment