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

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

Issue 240503006: Oilpan: fix build after r171843. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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 | « Source/core/css/parser/SizesAttributeParser.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/css/parser/SizesAttributeParser.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698