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

Unified Diff: third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp

Issue 2312293003: [CSSTypedOM] Computed StylePropertyMap use ComputedStyle for Lengths (Closed)
Patch Set: remove unneeded braces 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.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp b/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp
index 301b91445f3f9b312605ce644b8d9f8c9efa3f53..f725f850d7aa15b541ba15bf8514a88c11ff4c31 100644
--- a/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp
@@ -49,15 +49,15 @@ CSSStyleValue* styleValueForProperty(CSSPropertyID propertyID, const CSSValue& v
return nullptr;
}
-CSSStyleValueVector unsupportedCSSValue(const CSSValue& value)
+} // namespace
+
+CSSStyleValueVector StyleValueFactory::unsupportedCSSValue(const CSSValue& value)
{
CSSStyleValueVector styleValueVector;
styleValueVector.append(CSSUnsupportedStyleValue::create(value.cssText()));
return styleValueVector;
}
-} // namespace
-
CSSStyleValueVector StyleValueFactory::cssValueToStyleValueVector(CSSPropertyID propertyID, const CSSValue& value)
{
CSSStyleValueVector styleValueVector;

Powered by Google App Engine
This is Rietveld 408576698