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

Side by Side Diff: third_party/WebKit/Source/core/dom/StyleChangeReason.cpp

Issue 1854423002: ASSERT -> {DCHECK|DCHECK_XX}, ENABLE(ASSERT) -> DCHECK_IS_ON() in dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark svg/as-image/svg-nested.html crash on win Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/dom/StyleChangeReason.h" 5 #include "core/dom/StyleChangeReason.h"
6 6
7 #include "platform/TraceEvent.h" 7 #include "platform/TraceEvent.h"
8 #include "wtf/StaticConstructors.h" 8 #include "wtf/StaticConstructors.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 namespace StyleChangeExtraData { 50 namespace StyleChangeExtraData {
51 DEFINE_GLOBAL(AtomicString, Active) 51 DEFINE_GLOBAL(AtomicString, Active)
52 DEFINE_GLOBAL(AtomicString, Disabled) 52 DEFINE_GLOBAL(AtomicString, Disabled)
53 DEFINE_GLOBAL(AtomicString, Focus) 53 DEFINE_GLOBAL(AtomicString, Focus)
54 DEFINE_GLOBAL(AtomicString, Hover) 54 DEFINE_GLOBAL(AtomicString, Hover)
55 DEFINE_GLOBAL(AtomicString, Past) 55 DEFINE_GLOBAL(AtomicString, Past)
56 DEFINE_GLOBAL(AtomicString, Unresolved) 56 DEFINE_GLOBAL(AtomicString, Unresolved)
57 57
58 void init() 58 void init()
59 { 59 {
60 ASSERT(isMainThread()); 60 DCHECK(isMainThread());
61 61
62 new (NotNull, (void*)&Active) AtomicString(":active"); 62 new (NotNull, (void*)&Active) AtomicString(":active");
63 new (NotNull, (void*)&Disabled) AtomicString(":disabled"); 63 new (NotNull, (void*)&Disabled) AtomicString(":disabled");
64 new (NotNull, (void*)&Focus) AtomicString(":focus"); 64 new (NotNull, (void*)&Focus) AtomicString(":focus");
65 new (NotNull, (void*)&Hover) AtomicString(":hover"); 65 new (NotNull, (void*)&Hover) AtomicString(":hover");
66 new (NotNull, (void*)&Past) AtomicString(":past"); 66 new (NotNull, (void*)&Past) AtomicString(":past");
67 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved"); 67 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved");
68 } 68 }
69 69
70 } // namespace StyleChangeExtraData 70 } // namespace StyleChangeExtraData
71 71
72 } // namespace blink 72 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/SpaceSplitString.cpp ('k') | third_party/WebKit/Source/core/dom/StyleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698