Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1898)

Unified Diff: Source/core/xml/XSLImportRule.h

Issue 507583002: XSLImportRule should not be ResourceClient. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use UTF8Encoding().decode() Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/xml/XSLImportRule.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XSLImportRule.h
diff --git a/Source/core/xml/XSLImportRule.h b/Source/core/xml/XSLImportRule.h
index b8cb42a4b091f0f3570b205bbebc11500d0d6f60..fe6d9ad8e2b9956fa9556a3be45d04a574dd340b 100644
--- a/Source/core/xml/XSLImportRule.h
+++ b/Source/core/xml/XSLImportRule.h
@@ -24,7 +24,6 @@
#define XSLImportRule_h
#include "core/fetch/ResourcePtr.h"
-#include "core/fetch/StyleSheetResourceClient.h"
#include "core/xml/XSLStyleSheet.h"
#include "platform/RuntimeEnabledFeatures.h"
#include "wtf/PassOwnPtr.h"
@@ -33,7 +32,7 @@ namespace blink {
class XSLStyleSheetResource;
-class XSLImportRule FINAL : public NoBaseWillBeGarbageCollectedFinalized<XSLImportRule>, private StyleSheetResourceClient {
+class XSLImportRule FINAL : public NoBaseWillBeGarbageCollectedFinalized<XSLImportRule> {
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
static PassOwnPtrWillBeRawPtr<XSLImportRule> create(XSLStyleSheet* parentSheet, const String& href)
@@ -57,12 +56,11 @@ public:
private:
XSLImportRule(XSLStyleSheet* parentSheet, const String& href);
- virtual void setXSLStyleSheet(const String& href, const KURL& baseURL, const String& sheet) OVERRIDE;
+ void setXSLStyleSheet(const String& href, const KURL& baseURL, const String& sheet);
RawPtrWillBeMember<XSLStyleSheet> m_parentStyleSheet;
String m_strHref;
RefPtrWillBeMember<XSLStyleSheet> m_styleSheet;
- ResourcePtr<XSLStyleSheetResource> m_resource;
bool m_loading;
};
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/xml/XSLImportRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698