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

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

Issue 2757543002: Ensure baseComputedStyle optimisation is cleared during registered custom property animations (Closed)
Patch Set: Rebased Created 3 years, 9 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/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(
« no previous file with comments | « third_party/WebKit/Source/core/css/PropertyRegistration.h ('k') | third_party/WebKit/Source/core/css/PropertyRegistration.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698