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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.h

Issue 2858963002: Replace ASSERT with DCHECK in core/ (Closed)
Patch Set: WorkerBackingThread Created 3 years, 7 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/LocalFrame.h
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h
index 243f9d97f1d2eda54694cced2685a3f86a7aa0b5..45f9220e33ba3ec265d56961cc2bd8ad8783be00 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
@@ -296,7 +296,7 @@ inline FrameLoader& LocalFrame::Loader() const {
}
inline NavigationScheduler& LocalFrame::GetNavigationScheduler() const {
- ASSERT(navigation_scheduler_);
+ DCHECK(navigation_scheduler_);
return *navigation_scheduler_.Get();
}
@@ -337,7 +337,7 @@ inline void LocalFrame::SetInViewSourceMode(bool mode) {
}
inline EventHandler& LocalFrame::GetEventHandler() const {
- ASSERT(event_handler_);
+ DCHECK(event_handler_);
return *event_handler_;
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698