summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/css/properties/css_property_ref.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/css/properties/css_property_ref.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/css/properties/css_property_ref.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/core/css/properties/css_property_ref.cc b/chromium/third_party/blink/renderer/core/css/properties/css_property_ref.cc
index bd83e45f25a..0cd1fdcae0a 100644
--- a/chromium/third_party/blink/renderer/core/css/properties/css_property_ref.cc
+++ b/chromium/third_party/blink/renderer/core/css/properties/css_property_ref.cc
@@ -9,7 +9,8 @@
namespace blink {
CSSPropertyRef::CSSPropertyRef(const String& name, const Document& document)
- : property_id_(unresolvedCSSPropertyID(name)) {
+ : property_id_(
+ unresolvedCSSPropertyID(document.GetExecutionContext(), name)) {
if (property_id_ == CSSPropertyID::kVariable)
custom_property_ = CustomProperty(AtomicString(name), document);
}