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

Unified Diff: Source/core/css/parser/MediaQueryTokenizer.cpp

Issue 238263008: MediaQueryTokenizer does not parse correctly negative exponents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 | « no previous file | Source/core/css/parser/MediaQueryTokenizerTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/MediaQueryTokenizer.cpp
diff --git a/Source/core/css/parser/MediaQueryTokenizer.cpp b/Source/core/css/parser/MediaQueryTokenizer.cpp
index 828f0495f89b240eec1bc154fb20ca39ba612f5f..b97c6a4ea00b7bd16ae1af9d4dd1760b05e013e7 100644
--- a/Source/core/css/parser/MediaQueryTokenizer.cpp
+++ b/Source/core/css/parser/MediaQueryTokenizer.cpp
@@ -280,7 +280,7 @@ static double getFraction(MediaQueryInputStream& input, unsigned& offset, unsign
return input.getDouble(fractionStartPos, fractionEndPos);
}
-static unsigned long long getExponent(MediaQueryInputStream& input, unsigned& offset, int sign)
+static unsigned long long getExponent(MediaQueryInputStream& input, unsigned& offset, int& sign)
{
unsigned exponentStartPos = 0;
unsigned exponentEndPos = 0;
« no previous file with comments | « no previous file | Source/core/css/parser/MediaQueryTokenizerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698