Index: third_party/WebKit/Source/core/css/PropertyRegistration.cpp |
diff --git a/third_party/WebKit/Source/core/css/PropertyRegistration.cpp b/third_party/WebKit/Source/core/css/PropertyRegistration.cpp |
index ff078f38b22f82736960149a56fb66931d765986..155d099024a9f46e4f9f93b957a9c7ba8cf512e2 100644 |
--- a/third_party/WebKit/Source/core/css/PropertyRegistration.cpp |
+++ b/third_party/WebKit/Source/core/css/PropertyRegistration.cpp |
@@ -87,7 +87,7 @@ static bool computationallyIndependent(const CSSValue& value) { |
} |
void PropertyRegistration::registerProperty( |
- ScriptState* scriptState, |
+ ExecutionContext* executionContext, |
const PropertyDescriptor& descriptor, |
ExceptionState& exceptionState) { |
// Bindings code ensures these are set. |
@@ -102,7 +102,7 @@ void PropertyRegistration::registerProperty( |
return; |
} |
AtomicString atomicName(name); |
- Document* document = toDocument(scriptState->getExecutionContext()); |
+ Document* document = toDocument(executionContext); |
PropertyRegistry& registry = *document->propertyRegistry(); |
if (registry.registration(atomicName)) { |
exceptionState.throwDOMException( |