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

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

Issue 2312293003: [CSSTypedOM] Computed StylePropertyMap use ComputedStyle for Lengths (Closed)
Patch Set: rebase Created 4 years, 2 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 a2b21fe3e6ee61d6faa05a2803bbc64c30bdfe68..bf07bcac3301f53eb9fc4b5a90174c40b5ffc2d9 100644
--- a/third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.h
+++ b/third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.h
@@ -19,9 +19,10 @@ class CORE_EXPORT FilteredComputedStylePropertyMap
static FilteredComputedStylePropertyMap* create(
CSSComputedStyleDeclaration* computedStyleDeclaration,
const Vector<CSSPropertyID>& nativeProperties,
- const Vector<AtomicString>& customProperties) {
+ const Vector<AtomicString>& customProperties,
+ Node* node) {
return new FilteredComputedStylePropertyMap(
- computedStyleDeclaration, nativeProperties, customProperties);
+ computedStyleDeclaration, nativeProperties, customProperties, node);
}
CSSStyleValue* get(const String& propertyName, ExceptionState&) override;
@@ -35,7 +36,8 @@ class CORE_EXPORT FilteredComputedStylePropertyMap
FilteredComputedStylePropertyMap(
CSSComputedStyleDeclaration*,
const Vector<CSSPropertyID>& nativeProperties,
- const Vector<AtomicString>& customProperties);
+ const Vector<AtomicString>& customProperties,
+ Node*);
HashSet<CSSPropertyID> m_nativeProperties;
HashSet<AtomicString> m_customProperties;

Powered by Google App Engine
This is Rietveld 408576698