Chromium Code Reviews| Index: Source/core/html/LinkRelAttribute.h |
| diff --git a/Source/core/html/LinkRelAttribute.h b/Source/core/html/LinkRelAttribute.h |
| index 1856fc42efd4dc750b2136c3a15f094229013e18..009210885b4514a341233ab3dd31e03ee9fe9d57 100644 |
| --- a/Source/core/html/LinkRelAttribute.h |
| +++ b/Source/core/html/LinkRelAttribute.h |
| @@ -48,16 +48,17 @@ public: |
| bool isLinkPrefetch() const { return m_isLinkPrefetch; } |
| bool isLinkSubresource() const { return m_isLinkSubresource; } |
| bool isLinkPrerender() const { return m_isLinkPrerender; } |
| + bool isImport() const { return m_isImport; } |
|
dglazkov
2013/05/23 18:32:00
Don't forget to add a test to core/tests/LinkRelAt
Hajime Morrita
2013/05/24 02:28:27
Oh right! Will do.
|
| private: |
| - bool m_isStyleSheet; |
| IconType m_iconType; |
| - bool m_isAlternate; |
| - bool m_isDNSPrefetch; |
| - bool m_isLinkPrefetch; |
| - bool m_isLinkSubresource; |
| - bool m_isLinkPrerender; |
| - |
| + bool m_isStyleSheet : 1; |
| + bool m_isAlternate : 1; |
| + bool m_isDNSPrefetch : 1; |
| + bool m_isLinkPrefetch : 1; |
| + bool m_isLinkSubresource : 1; |
| + bool m_isLinkPrerender : 1; |
| + bool m_isImport : 1; |
| }; |
| } |