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

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

Issue 2312293003: [CSSTypedOM] Computed StylePropertyMap use ComputedStyle for Lengths (Closed)
Patch Set: Fixed unit test Created 4 years, 3 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/FilteredComputedStylePropertyMap.h
diff --git a/third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.h b/third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.h
index 83f6152999bdb9cf9bafb6b2362cb67f941a8387..15a3595c7a0e1ba3172b246a1906fe4681e936a7 100644
--- a/third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.h
+++ b/third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.h
@@ -14,9 +14,9 @@ namespace blink {
class CORE_EXPORT FilteredComputedStylePropertyMap : public ComputedStylePropertyMap {
WTF_MAKE_NONCOPYABLE(FilteredComputedStylePropertyMap);
public:
- static FilteredComputedStylePropertyMap* create(CSSComputedStyleDeclaration* computedStyleDeclaration, const Vector<CSSPropertyID>& nativeProperties, const Vector<AtomicString>& customProperties)
+ static FilteredComputedStylePropertyMap* create(CSSComputedStyleDeclaration* computedStyleDeclaration, const Vector<CSSPropertyID>& nativeProperties, const Vector<AtomicString>& customProperties, Node* node)
{
- return new FilteredComputedStylePropertyMap(computedStyleDeclaration, nativeProperties, customProperties);
+ return new FilteredComputedStylePropertyMap(computedStyleDeclaration, nativeProperties, customProperties, node);
}
CSSStyleValue* get(const String& propertyName, ExceptionState&) override;
@@ -26,7 +26,7 @@ public:
Vector<String> getProperties() override;
private:
- FilteredComputedStylePropertyMap(CSSComputedStyleDeclaration*, const Vector<CSSPropertyID>& nativeProperties, const Vector<AtomicString>& customProperties);
+ FilteredComputedStylePropertyMap(CSSComputedStyleDeclaration*, const Vector<CSSPropertyID>& nativeProperties, const Vector<AtomicString>& customProperties, Node*);
HashSet<CSSPropertyID> m_nativeProperties;
HashSet<AtomicString> m_customProperties;

Powered by Google App Engine
This is Rietveld 408576698