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

Unified Diff: Source/core/css/WebKitCSSSVGDocumentValue.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/core.gypi ('k') | Source/core/css/WebKitCSSSVGDocumentValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/WebKitCSSSVGDocumentValue.h
diff --git a/Source/core/css/WebKitCSSSVGDocumentValue.h b/Source/core/css/WebKitCSSSVGDocumentValue.h
index 26c55845155cbaeb320623803f031216da81c88b..c6af8c655e451253c3b8b9472a122ee6b6f017ee 100644
--- a/Source/core/css/WebKitCSSSVGDocumentValue.h
+++ b/Source/core/css/WebKitCSSSVGDocumentValue.h
@@ -26,8 +26,8 @@
#define WebKitCSSSVGDocumentValue_h
#include "core/css/CSSValue.h"
+#include "core/loader/cache/CachedDocument.h"
#include "core/loader/cache/CachedResourceHandle.h"
-#include "core/loader/cache/CachedSVGDocument.h"
namespace WebCore {
@@ -38,8 +38,8 @@ public:
static PassRefPtr<WebKitCSSSVGDocumentValue> create(const String& url) { return adoptRef(new WebKitCSSSVGDocumentValue(url)); }
~WebKitCSSSVGDocumentValue();
- CachedSVGDocument* cachedSVGDocument() const { return m_document.get(); }
- CachedSVGDocument* load(CachedResourceLoader*);
+ CachedDocument* cachedSVGDocument() const { return m_document.get(); }
+ CachedDocument* load(CachedResourceLoader*);
String customCssText() const;
const String& url() const { return m_url; }
@@ -52,7 +52,7 @@ private:
WebKitCSSSVGDocumentValue(const String& url);
String m_url;
- CachedResourceHandle<CachedSVGDocument> m_document;
+ CachedResourceHandle<CachedDocument> m_document;
bool m_loadRequested;
};
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/WebKitCSSSVGDocumentValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698