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

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

Issue 2919653004: Use LOG() or LOG_IF() instead of IMMEDIATE_CRASH (Closed)
Patch Set: Use LOG() or LOG_IF() instead of IMMEDIATE_CRASH 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/web/WebPagePopupImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
index e7aa9b199cd217a74870e5a72f9ea7e81c49569a..15fdc467a7e682754c5b482c67f069e5cb1c31a5 100644
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
@@ -599,8 +599,7 @@ WebRect WebPagePopupImpl::WindowRectInScreen() const {
// WebPagePopup ----------------------------------------------------------------
WebPagePopup* WebPagePopup::Create(WebWidgetClient* client) {
- if (!client)
- IMMEDIATE_CRASH();
+ LOG_IF(FATAL, !client);
// A WebPagePopupImpl instance usually has two references.
// - One owned by the instance itself. It represents the visible widget.
// - One owned by a WebViewBase. It's released when the WebViewBase ask the

Powered by Google App Engine
This is Rietveld 408576698