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

Unified Diff: third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h

Issue 2042943003: Move CSSValue->CSSStyleValue logic out of StylePropertyMap and into the StyleValueFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@stylevaue
Patch Set: sync to HEAD Created 4 years, 6 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
Index: third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h
diff --git a/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h b/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h
index 8886d586c1bd1efa968b15013abb061caf9ee27a..d4c274e45444b9b6ffcbbd2b189ef9594b27029a 100644
--- a/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h
+++ b/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h
@@ -21,17 +21,16 @@ class CORE_EXPORT StylePropertyMap : public GarbageCollectedFinalized<StylePrope
WTF_MAKE_NONCOPYABLE(StylePropertyMap);
DEFINE_WRAPPERTYPEINFO();
public:
- typedef HeapVector<Member<CSSStyleValue>> StyleValueVector;
typedef std::pair<String, CSSStyleValueOrCSSStyleValueSequence> StylePropertyMapEntry;
virtual ~StylePropertyMap() { }
// Accessors.
CSSStyleValue* get(const String& propertyName, ExceptionState&);
- StyleValueVector getAll(const String& propertyName, ExceptionState&);
+ CSSStyleValueVector getAll(const String& propertyName, ExceptionState&);
bool has(const String& propertyName, ExceptionState&);
- virtual StyleValueVector getAll(CSSPropertyID) = 0;
+ virtual CSSStyleValueVector getAll(CSSPropertyID) = 0;
virtual Vector<String> getProperties() = 0;
// Modifiers.
@@ -50,7 +49,6 @@ protected:
virtual HeapVector<StylePropertyMapEntry> getIterationEntries() = 0;
IterationSource* startIteration(ScriptState*, ExceptionState&) override;
- StyleValueVector cssValueToStyleValueVector(CSSPropertyID, const CSSValue&);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698