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

Unified Diff: third_party/WebKit/Source/web/WebScopedWindowFocusAllowedIndicator.cpp

Issue 1839643009: RELEASE_ASSERT -> CHECK and ASSERT -> DCHECK in web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Return DCHECK_IS_ON checks. Created 4 years, 9 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: third_party/WebKit/Source/web/WebScopedWindowFocusAllowedIndicator.cpp
diff --git a/third_party/WebKit/Source/web/WebScopedWindowFocusAllowedIndicator.cpp b/third_party/WebKit/Source/web/WebScopedWindowFocusAllowedIndicator.cpp
index dbddb914682af20eed4dd5631557ba4d39b521e2..e32eb89866af5cfcaf879d1a53bb2ddfeb391799 100644
--- a/third_party/WebKit/Source/web/WebScopedWindowFocusAllowedIndicator.cpp
+++ b/third_party/WebKit/Source/web/WebScopedWindowFocusAllowedIndicator.cpp
@@ -39,7 +39,7 @@ namespace blink {
void WebScopedWindowFocusAllowedIndicator::initialize(WebDocument* webDocument)
{
Document* document = webDocument->unwrap<Document>();
- ASSERT(document);
+ DCHECK(document);
m_private.reset(new ScopedWindowFocusAllowedIndicator(document));
}
« no previous file with comments | « third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698