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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp

Issue 2919443002: Use IMMEDIATE_CRASH() instead of CRASH() directly (Closed)
Patch Set: Use IMMEDIATE_CRASH() instead of CRASH() directly 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/platform/graphics/GraphicsLayer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
index 7e4c8acb015c53a17d3b22680b4af5e3a103c4eb..1f1931d8df4f240a5b98c7b96955be0ab89e6a7f 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -388,14 +388,14 @@ void GraphicsLayer::RegisterContentsLayer(WebLayer* layer) {
if (!g_registered_layer_set)
g_registered_layer_set = new HashSet<int>;
if (g_registered_layer_set->Contains(layer->Id()))
- CRASH();
+ IMMEDIATE_CRASH();
g_registered_layer_set->insert(layer->Id());
}
void GraphicsLayer::UnregisterContentsLayer(WebLayer* layer) {
DCHECK(g_registered_layer_set);
if (!g_registered_layer_set->Contains(layer->Id()))
- CRASH();
+ IMMEDIATE_CRASH();
g_registered_layer_set->erase(layer->Id());
}
@@ -404,7 +404,7 @@ void GraphicsLayer::SetContentsTo(WebLayer* layer) {
if (layer) {
DCHECK(g_registered_layer_set);
if (!g_registered_layer_set->Contains(layer->Id()))
- CRASH();
+ IMMEDIATE_CRASH();
if (contents_layer_id_ != layer->Id()) {
SetupContentsLayer(layer);
children_changed = true;
« no previous file with comments | « third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp ('k') | third_party/WebKit/Source/platform/mac/BlockExceptions.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698