Chromium Code Reviews| Index: third_party/WebKit/Source/core/style/StyleImage.h |
| diff --git a/third_party/WebKit/Source/core/style/StyleImage.h b/third_party/WebKit/Source/core/style/StyleImage.h |
| index bdd526d17d5263f8ccdf3f78983d18d31a9382e6..1cf15d2b9aa351aee55a0177c7b98341e087832e 100644 |
| --- a/third_party/WebKit/Source/core/style/StyleImage.h |
| +++ b/third_party/WebKit/Source/core/style/StyleImage.h |
| @@ -77,6 +77,7 @@ public: |
| ALWAYS_INLINE bool isGeneratedImage() const { return m_isGeneratedImage; } |
| ALWAYS_INLINE bool isImageResourceSet() const { return m_isImageResourceSet; } |
| ALWAYS_INLINE bool isInvalidImage() const { return m_isInvalidImage; } |
| + ALWAYS_INLINE bool isPaintImage() const { return m_isPaintImage; } |
|
ikilpatrick
2016/04/19 22:31:26
This could be removed in favour of:
s/styleImage-
|
| DEFINE_INLINE_VIRTUAL_TRACE() { } |
| @@ -87,6 +88,7 @@ protected: |
| , m_isGeneratedImage(false) |
| , m_isImageResourceSet(false) |
| , m_isInvalidImage(false) |
| + , m_isPaintImage(false) |
| { |
| } |
| bool m_isImageResource:1; |
| @@ -94,6 +96,7 @@ protected: |
| bool m_isGeneratedImage:1; |
| bool m_isImageResourceSet:1; |
| bool m_isInvalidImage:1; |
| + bool m_isPaintImage:1; |
| static LayoutSize applyZoom(const LayoutSize&, float multiplier); |
| LayoutSize imageSizeForSVGImage(SVGImage*, float multiplier, const LayoutSize& defaultObjectSize) const; |