Index: Source/core/css/parser/SizesAttributeParser.h |
diff --git a/Source/core/css/parser/SizesAttributeParser.h b/Source/core/css/parser/SizesAttributeParser.h |
index 4c6b73f8a4d0b17c4ec2e8ba5c0b864e6251db80..52d34a6ae69da91ea38231b84da788cc0c13bb89 100644 |
--- a/Source/core/css/parser/SizesAttributeParser.h |
+++ b/Source/core/css/parser/SizesAttributeParser.h |
@@ -7,11 +7,13 @@ |
#include "core/css/MediaValues.h" |
#include "core/css/parser/MediaQueryParser.h" |
+#include "platform/heap/Handle.h" |
#include "wtf/text/WTFString.h" |
namespace WebCore { |
class SizesAttributeParser { |
+ STACK_ALLOCATED(); |
public: |
static unsigned findEffectiveSize(const String& attribute, PassRefPtr<MediaValues>); |
@@ -26,10 +28,10 @@ private: |
bool parseMediaConditionAndLength(TokenIterator startToken, TokenIterator endToken); |
unsigned effectiveSize(); |
bool calculateLengthInPixels(TokenIterator startToken, TokenIterator endToken, unsigned& result); |
- bool mediaConditionMatches(PassRefPtr<MediaQuerySet> mediaCondition); |
+ bool mediaConditionMatches(PassRefPtrWillBeRawPtr<MediaQuerySet> mediaCondition); |
unsigned effectiveSizeDefaultValue(); |
- RefPtr<MediaQuerySet> m_mediaCondition; |
+ RefPtrWillBeMember<MediaQuerySet> m_mediaCondition; |
RefPtr<MediaValues> m_mediaValues; |
unsigned m_length; |
}; |