Index: Source/core/html/HTMLLinkElement.h |
diff --git a/Source/core/html/HTMLLinkElement.h b/Source/core/html/HTMLLinkElement.h |
index 49f1b19ad5805b168f501688ff9e8eb15b97317c..ce818a1d95ce7789c3df7ab63d6199bdfacaf6bb 100644 |
--- a/Source/core/html/HTMLLinkElement.h |
+++ b/Source/core/html/HTMLLinkElement.h |
@@ -141,11 +141,14 @@ public: |
// For LinkStyle |
bool loadLink(const String& type, const KURL& url) { return m_linkLoader.loadLink(m_relAttribute, type, url, document()); } |
bool isAlternate() const { return m_link->isUnset() && m_relAttribute.isAlternate(); } |
- bool shouldProcessStyle(); |
+ bool shouldProcessStyle() { return linkStyleToProcess(); } |
private: |
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; |
+ LinkStyle* linkStyle() const { return m_link.get(); } |
+ LinkStyle* linkStyleToProcess(); |
+ |
void process(); |
static void processCallback(Node*); |