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

Unified Diff: Source/core/loader/cache/CachedSVGDocumentReference.h

Issue 15556002: Refactoring: Generalize CachedSVGDocument for non-SVG use. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Resolved the conflict. Created 7 years, 7 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/loader/cache/CachedSVGDocument.cpp ('k') | Source/core/rendering/FilterEffectRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/cache/CachedSVGDocumentReference.h
diff --git a/Source/core/loader/cache/CachedSVGDocumentReference.h b/Source/core/loader/cache/CachedSVGDocumentReference.h
index 0ddabde0ba3c490e1efc5c685f23e9b10aec808c..f567370c06030102482ffc9c159a15cb17eb2fe6 100644
--- a/Source/core/loader/cache/CachedSVGDocumentReference.h
+++ b/Source/core/loader/cache/CachedSVGDocumentReference.h
@@ -26,18 +26,18 @@
#ifndef CachedSVGDocumentReference_h
#define CachedSVGDocumentReference_h
+#include "core/loader/cache/CachedDocument.h"
#include "core/loader/cache/CachedResourceHandle.h"
-#include "core/loader/cache/CachedSVGDocument.h"
namespace WebCore {
-class CachedSVGDocumentReference : public CachedSVGDocumentClient {
+class CachedSVGDocumentReference : public CachedDocumentClient {
public:
- CachedSVGDocumentReference(CachedSVGDocument* document) : m_document(document) { m_document->addClient(this); }
+ CachedSVGDocumentReference(CachedDocument* document) : m_document(document) { m_document->addClient(this); }
virtual ~CachedSVGDocumentReference() { m_document->removeClient(this); }
- CachedSVGDocument* document() { return m_document.get(); }
+ CachedDocument* document() { return m_document.get(); }
private:
- CachedResourceHandle<CachedSVGDocument> m_document;
+ CachedResourceHandle<CachedDocument> m_document;
};
};
« no previous file with comments | « Source/core/loader/cache/CachedSVGDocument.cpp ('k') | Source/core/rendering/FilterEffectRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698