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

Unified Diff: Source/core/dom/StyleChangeReason.cpp

Issue 620333002: Use invalidation sets for :invalid/:valid/:required/:optional. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 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
Index: Source/core/dom/StyleChangeReason.cpp
diff --git a/Source/core/dom/StyleChangeReason.cpp b/Source/core/dom/StyleChangeReason.cpp
index 675d5a86e001509248a93b2288ee505d05307baf..cac7f58888111d004f290c611c93f02fa5d2f858 100644
--- a/Source/core/dom/StyleChangeReason.cpp
+++ b/Source/core/dom/StyleChangeReason.cpp
@@ -49,7 +49,6 @@ DEFINE_GLOBAL(AtomicString, Active)
DEFINE_GLOBAL(AtomicString, Disabled)
DEFINE_GLOBAL(AtomicString, Focus)
DEFINE_GLOBAL(AtomicString, Hover)
-DEFINE_GLOBAL(AtomicString, Invalid)
DEFINE_GLOBAL(AtomicString, Unresolved)
void init()
@@ -60,7 +59,6 @@ void init()
new (NotNull, (void*)&Disabled) AtomicString(":disabled", AtomicString::ConstructFromLiteral);
new (NotNull, (void*)&Focus) AtomicString(":focus", AtomicString::ConstructFromLiteral);
new (NotNull, (void*)&Hover) AtomicString(":hover", AtomicString::ConstructFromLiteral);
- new (NotNull, (void*)&Invalid) AtomicString(":invalid", AtomicString::ConstructFromLiteral);
new (NotNull, (void*)&Unresolved) AtomicString(":unresolved", AtomicString::ConstructFromLiteral);
}

Powered by Google App Engine
This is Rietveld 408576698