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

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

Issue 2846273002: Replace ASSERT_NOT_REACHED with NOTREACHED in core/frame (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp
diff --git a/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp b/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp
index f7375a562251512a0d80f6c5eff4879c81287c2d..dc6790aa6a7b9af0616288e979c7d7700a4c5807 100644
--- a/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp
+++ b/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp
@@ -243,7 +243,7 @@ void EventHandlerRegistry::NotifyHasHandlersChanged(
break;
#endif
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
}
@@ -302,7 +302,7 @@ void EventHandlerRegistry::DocumentDetached(Document& document) {
// DOMWindows may outlive their documents, so we shouldn't remove their
// handlers here.
} else {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
}
for (size_t i = 0; i < targets_to_remove.size(); ++i)
« no previous file with comments | « third_party/WebKit/Source/core/frame/Deprecation.cpp ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698