Index: Source/core/css/parser/SizesAttributeParser.cpp |
diff --git a/Source/core/css/parser/SizesAttributeParser.cpp b/Source/core/css/parser/SizesAttributeParser.cpp |
index dca1ace194f1a8c0483646db3c29e4f76235657c..4fd32365b7f52f793a534c9e60553c2585ab4ed0 100644 |
--- a/Source/core/css/parser/SizesAttributeParser.cpp |
+++ b/Source/core/css/parser/SizesAttributeParser.cpp |
@@ -72,7 +72,7 @@ static void reverseSkipUntilComponentStart(TokenIterator& token, TokenIterator s |
} |
} |
-bool SizesAttributeParser::mediaConditionMatches(PassRefPtr<MediaQuerySet> mediaCondition) |
+bool SizesAttributeParser::mediaConditionMatches(PassRefPtrWillBeRawPtr<MediaQuerySet> mediaCondition) |
{ |
// FIXME: How do I handle non-screen media types here? |
MediaQueryEvaluator mediaQueryEvaluator(MediaTypeNames::screen, *m_mediaValues); |
@@ -91,7 +91,7 @@ bool SizesAttributeParser::parseMediaConditionAndLength(TokenIterator startToken |
unsigned length; |
if (!calculateLengthInPixels(lengthTokenStart, lengthTokenEnd, length)) |
return false; |
- RefPtr<MediaQuerySet> mediaCondition = MediaQueryParser::parseMediaCondition(startToken, endToken); |
+ RefPtrWillBeRawPtr<MediaQuerySet> mediaCondition = MediaQueryParser::parseMediaCondition(startToken, endToken); |
if (mediaCondition && mediaConditionMatches(mediaCondition)) { |
m_length = length; |
return true; |