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

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

Issue 2310823002: Skeleton implementation of CSS Properties and Values API (Closed)
Patch Set: fix stylevardata copy ctor 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/CSSComputedStyleDeclaration.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
index 3aa0a7f6370f71a29267d4bd390484e98a145541..1f86f1e9f8bb37397c3d47a2dc4081f8af73a333 100644
--- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
+++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
@@ -525,7 +525,7 @@ const CSSValue* CSSComputedStyleDeclaration::getPropertyCSSValue(AtomicString cu
const ComputedStyle* style = computeComputedStyle();
if (!style)
return nullptr;
- return ComputedStyleCSSValueMapping::get(customPropertyName, *style);
+ return ComputedStyleCSSValueMapping::get(customPropertyName, *style, styledNode->document().propertyRegistry());
}
std::unique_ptr<HashMap<AtomicString, RefPtr<CSSVariableData>>> CSSComputedStyleDeclaration::getVariables() const
« no previous file with comments | « third_party/WebKit/Source/core/css/BUILD.gn ('k') | third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698