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

Side by Side Diff: third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.h

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 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2013 Google Inc. All Rights Reserved. 3 * Copyright (C) 2013 Google Inc. All Rights Reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 unsigned activeDOMObjectCount() const; 48 unsigned activeDOMObjectCount() const;
49 49
50 protected: 50 protected:
51 // Need a default constructor to link core and modules separately. 51 // Need a default constructor to link core and modules separately.
52 // If no default constructor, we will see an error: "constructor for 52 // If no default constructor, we will see an error: "constructor for
53 // 'blink::ExecutionContext' must explicitly initialize the base class 53 // 'blink::ExecutionContext' must explicitly initialize the base class
54 // 'blink::ContextLifecycleNotifier' which does not have a default 54 // 'blink::ContextLifecycleNotifier' which does not have a default
55 // constructor ExecutionContext::ExecutionContext()". 55 // constructor ExecutionContext::ExecutionContext()".
56 ContextLifecycleNotifier() { } 56 ContextLifecycleNotifier() { }
57 57
58 #if ENABLE(ASSERT) 58 #if DCHECK_IS_ON()
59 bool contains(ActiveDOMObject*) const; 59 bool contains(ActiveDOMObject*) const;
60 #endif 60 #endif
61 }; 61 };
62 62
63 } // namespace blink 63 } // namespace blink
64 64
65 #endif // ContextLifecycleNotifier_h 65 #endif // ContextLifecycleNotifier_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698