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

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

Issue 2042943003: Move CSSValue->CSSStyleValue logic out of StylePropertyMap and into the StyleValueFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@stylevaue
Patch Set: sync to HEAD Created 4 years, 6 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/ComputedStylePropertyMap.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.cpp b/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.cpp
index 9d987fcaaf9684c666c071208e0703ce1d8d8000..08a1031587f3dfe7bfc1eefcc28a209a0e487d06 100644
--- a/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.cpp
@@ -9,12 +9,12 @@
namespace blink {
-StylePropertyMap::StyleValueVector ComputedStylePropertyMap::getAll(CSSPropertyID propertyID)
+CSSStyleValueVector ComputedStylePropertyMap::getAll(CSSPropertyID propertyID)
{
const CSSValue* cssValue = m_computedStyleDeclaration->getPropertyCSSValueInternal(propertyID);
if (!cssValue)
- return StylePropertyMap::StyleValueVector();
- return cssValueToStyleValueVector(propertyID, *cssValue);
+ return CSSStyleValueVector();
+ return StyleValueFactory::cssValueToStyleValueVector(propertyID, *cssValue);
}
Vector<String> ComputedStylePropertyMap::getProperties()

Powered by Google App Engine
This is Rietveld 408576698