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

Unified Diff: Source/core/svg/SVGUseElement.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/rendering/RenderLayerFilterInfo.cpp ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGUseElement.h
diff --git a/Source/core/svg/SVGUseElement.h b/Source/core/svg/SVGUseElement.h
index c04055bbafa2ee892580e908c844f2030cd9c7af..ba2bf085e7b6f8013d162cbe783f6046a62d68bf 100644
--- a/Source/core/svg/SVGUseElement.h
+++ b/Source/core/svg/SVGUseElement.h
@@ -21,7 +21,7 @@
#ifndef SVGUseElement_h
#define SVGUseElement_h
-#include "core/loader/cache/CachedSVGDocument.h"
+#include "core/loader/cache/CachedDocument.h"
#include "core/svg/SVGAnimatedBoolean.h"
#include "core/svg/SVGAnimatedLength.h"
#include "core/svg/SVGExternalResourcesRequired.h"
@@ -32,7 +32,7 @@
namespace WebCore {
-class CachedSVGDocument;
+class CachedDocument;
class SVGElementInstance;
class SVGUseElement FINAL : public SVGStyledTransformableElement,
@@ -40,7 +40,7 @@ class SVGUseElement FINAL : public SVGStyledTransformableElement,
public SVGLangSpace,
public SVGExternalResourcesRequired,
public SVGURIReference,
- public CachedSVGDocumentClient {
+ public CachedDocumentClient {
public:
static PassRefPtr<SVGUseElement> create(const QualifiedName&, Document*, bool wasInsertedByParser);
virtual ~SVGUseElement();
@@ -112,7 +112,7 @@ private:
bool instanceTreeIsLoading(SVGElementInstance*);
virtual void notifyFinished(CachedResource*);
Document* referencedDocument() const;
- void setCachedDocument(CachedResourceHandle<CachedSVGDocument>);
+ void setCachedDocument(CachedResourceHandle<CachedDocument>);
// SVGTests
virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFeatures(this); }
@@ -129,7 +129,7 @@ private:
bool m_haveFiredLoadEvent;
bool m_needsShadowTreeRecreation;
RefPtr<SVGElementInstance> m_targetElementInstance;
- CachedResourceHandle<CachedSVGDocument> m_cachedDocument;
+ CachedResourceHandle<CachedDocument> m_cachedDocument;
Timer<SVGElement> m_svgLoadEventTimer;
};
« no previous file with comments | « Source/core/rendering/RenderLayerFilterInfo.cpp ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698