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

Unified Diff: third_party/WebKit/Source/core/css/CSSURIValue.h

Issue 2401343002: Tracking filter mutation via SVGElementProxy (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 | « no previous file | third_party/WebKit/Source/core/css/CSSURIValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSURIValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSURIValue.h b/third_party/WebKit/Source/core/css/CSSURIValue.h
index ee2d079f16782b65d6287c44217fdef6f8aca2cd..500686c13d0966a11350c7fe42dbcd704cb0c277 100644
--- a/third_party/WebKit/Source/core/css/CSSURIValue.h
+++ b/third_party/WebKit/Source/core/css/CSSURIValue.h
@@ -6,38 +6,35 @@
#define CSSURIValue_h
#include "core/css/CSSValue.h"
-#include "core/fetch/DocumentResource.h"
+#include "wtf/text/WTFString.h"
namespace blink {
class Document;
+class SVGElementProxy;
class CSSURIValue : public CSSValue {
public:
static CSSURIValue* create(const String& str) { return new CSSURIValue(str); }
~CSSURIValue();
- DocumentResource* cachedDocument() const { return m_document; }
- DocumentResource* load(Document&) const;
+ SVGElementProxy& ensureElementProxy(Document&) const;
const String& value() const { return m_url; }
const String& url() const { return m_url; }
String customCSSText() const;
- bool loadRequested() const { return m_loadRequested; }
bool equals(const CSSURIValue&) const;
DECLARE_TRACE_AFTER_DISPATCH();
private:
- CSSURIValue(const String&);
+ explicit CSSURIValue(const String&);
String m_url;
- // Document cache.
- mutable Member<DocumentResource> m_document;
- mutable bool m_loadRequested;
+ mutable Member<SVGElementProxy> m_proxy;
};
DEFINE_CSS_VALUE_TYPE_CASTS(CSSURIValue, isURIValue());
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSURIValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698