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 b6725843b9c8e31d10a403fa714960f4ba843660..479820a000dcac242efc7a86d8245f19806452c9 100644 |
--- a/third_party/WebKit/Source/core/css/PropertyRegistration.cpp |
+++ b/third_party/WebKit/Source/core/css/PropertyRegistration.cpp |
@@ -128,25 +128,4 @@ void PropertyRegistration::registerProperty( |
StyleChangeReason::PropertyRegistration)); |
} |
-void PropertyRegistration::unregisterProperty( |
- ExecutionContext* executionContext, |
- const String& property, |
- ExceptionState& exceptionState) { |
- Document* document = toDocument(executionContext); |
- PropertyRegistry& registry = *document->propertyRegistry(); |
- AtomicString atomicProperty(property); |
- if (!registry.registration(atomicProperty)) { |
- exceptionState.throwDOMException( |
- NotFoundError, |
- "CSS.unregisterProperty() called with non-registered property " + |
- property); |
- return; |
- } |
- registry.unregisterProperty(atomicProperty); |
- |
- document->setNeedsStyleRecalc(SubtreeStyleChange, |
- StyleChangeReasonForTracing::create( |
- StyleChangeReason::PropertyUnregistration)); |
-} |
- |
} // namespace blink |