Index: Source/core/html/HTMLLinkElement.h |
diff --git a/Source/core/html/HTMLLinkElement.h b/Source/core/html/HTMLLinkElement.h |
index 0603d27600d71fa33cd0c89a63cda3da33b705e8..b9c6bd76b69f7cbe1396ba06b10011dfddb7bb23 100644 |
--- a/Source/core/html/HTMLLinkElement.h |
+++ b/Source/core/html/HTMLLinkElement.h |
@@ -84,7 +84,7 @@ public: |
CSSStyleSheet* sheet() const { return m_sheet.get(); } |
private: |
- // From ResourceClient |
+ // From StyleSheetResourceClient |
virtual void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource*) OVERRIDE; |
enum DisabledState { |
@@ -156,7 +156,7 @@ public: |
virtual bool shouldLoadLink() OVERRIDE; |
// For LinkStyle |
- bool loadLink(const String& type, const KURL& url) { return m_linkLoader.loadLink(m_relAttribute, type, url, document()); } |
+ bool loadLink(const String&, const KURL&); |
abarth-chromium
2014/01/28 06:38:45
I'd probably keep the name |type| for the first ar
sof
2014/01/28 07:23:01
Yes, added 'type' back here + expanded LinkLoader:
|
bool isAlternate() const { return linkStyle()->isUnset() && m_relAttribute.isAlternate(); } |
bool shouldProcessStyle() { return linkResourceToProcess() && linkStyle(); } |
bool isCreatedByParser() const { return m_createdByParser; } |