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

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp

Issue 1828163002: Remove ASSERT_ARG(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove duplicated declarations in Position.h 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/core/frame/LocalDOMWindow.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
index 5ea5d10b47f16ec88aaad267a38664af61130ce0..4fb4aefc0157444f6425babfe20d59773c0c05ee 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -263,7 +263,7 @@ static void removeAllBeforeUnloadEventListeners(LocalDOMWindow* domWindow)
static bool allowsBeforeUnloadListeners(LocalDOMWindow* window)
{
- ASSERT_ARG(window, window);
+ DCHECK(window);
LocalFrame* frame = window->frame();
if (!frame)
return false;

Powered by Google App Engine
This is Rietveld 408576698