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

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

Issue 2403423002: [CSSTypedOM] Computed StylePropertyMap use ComputedStyle for Lengths (Closed)
Patch Set: Use StyleValueFactory & ComputedStyleCSSValueMapping for unsupported Created 3 years, 11 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/CSSComputedStyleDeclaration.h
diff --git a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.h b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.h
index 9a67d5d95471403920880f7c0d22751f968cdb5c..d237fe3ac25f9fdc38687355d33a889e5e0a2c74 100644
--- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.h
+++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.h
@@ -66,6 +66,10 @@ class CORE_EXPORT CSSComputedStyleDeclaration final
MutableStylePropertySet* copyPropertiesInSet(
const Vector<CSSPropertyID>&) const;
+ // CSSOM functions.
+ unsigned length() const override;
+ String item(unsigned index) const override;
+
DECLARE_VIRTUAL_TRACE();
private:
@@ -78,10 +82,8 @@ class CORE_EXPORT CSSComputedStyleDeclaration final
// fix that.
Node* styledNode() const;
- // CSSOM functions. Don't make these public.
+ // CSSOM functions.
CSSRule* parentRule() const override;
- unsigned length() const override;
- String item(unsigned index) const override;
const ComputedStyle* computeComputedStyle() const;
String getPropertyValue(const String& propertyName) override;
String getPropertyPriority(const String& propertyName) override;

Powered by Google App Engine
This is Rietveld 408576698