| 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 fc591498d1468864a635b801473f7f12cd4b092c..2d049f680983e2e42cec3f87ec2429f0b430ff12 100644
|
| --- a/third_party/WebKit/Source/core/css/PropertyRegistration.cpp
|
| +++ b/third_party/WebKit/Source/core/css/PropertyRegistration.cpp
|
| @@ -61,7 +61,7 @@ static bool computationallyIndependent(const CSSValue& value) {
|
| }
|
|
|
| void PropertyRegistration::registerProperty(
|
| - ExecutionContext* executionContext,
|
| + ScriptState* scriptState,
|
| const PropertyDescriptor& descriptor,
|
| ExceptionState& exceptionState) {
|
| // Bindings code ensures these are set.
|
| @@ -76,7 +76,7 @@ void PropertyRegistration::registerProperty(
|
| return;
|
| }
|
| AtomicString atomicName(name);
|
| - Document* document = toDocument(executionContext);
|
| + Document* document = toDocument(scriptState->getExecutionContext());
|
| PropertyRegistry& registry = *document->propertyRegistry();
|
| if (registry.registration(atomicName)) {
|
| exceptionState.throwDOMException(
|
|
|