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

Unified Diff: third_party/WebKit/Source/core/css/cssom/StyleValueFactory.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/StyleValueFactory.h
diff --git a/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.h b/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.h
index a3866d7d34b41c3fd0cab26bc7954e83a56d0edd..086c6dce5ab627f7cdef2f30d43e21d79ac6bbba 100644
--- a/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.h
+++ b/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.h
@@ -7,6 +7,7 @@
#include "core/CSSPropertyNames.h"
#include "core/css/cssom/CSSStyleValue.h"
+#include "core/style/ComputedStyle.h"
#include "wtf/Allocator.h"
namespace blink {
@@ -18,6 +19,7 @@ class StyleValueFactory {
public:
static CSSStyleValueVector cssValueToStyleValueVector(CSSPropertyID, const CSSValue&);
+ static CSSStyleValueVector computedStyleToStyleValueVector(CSSPropertyID, const ComputedStyle*);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698