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

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

Issue 2405153002: Remove CSS.unregisterProperty as the WG resolved to remove it for now (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/core/css/PropertyRegistry.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/PropertyRegistry.cpp
diff --git a/third_party/WebKit/Source/core/css/PropertyRegistry.cpp b/third_party/WebKit/Source/core/css/PropertyRegistry.cpp
index 9a16144b41d22f95fc2692a4a976f999b72a8d42..fb0229591a5069f5e2916396aa1767fb695c0466 100644
--- a/third_party/WebKit/Source/core/css/PropertyRegistry.cpp
+++ b/third_party/WebKit/Source/core/css/PropertyRegistry.cpp
@@ -17,11 +17,6 @@ void PropertyRegistry::registerProperty(
name, new Registration(syntax, inherits, initial, initialVariableData));
}
-void PropertyRegistry::unregisterProperty(const AtomicString& name) {
- DCHECK(registration(name));
- m_registrations.remove(name);
-}
-
const PropertyRegistry::Registration* PropertyRegistry::registration(
const AtomicString& name) const {
return m_registrations.get(name);
« no previous file with comments | « third_party/WebKit/Source/core/css/PropertyRegistry.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698