Chromium Code Reviews| Index: third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp |
| diff --git a/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp b/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp |
| index 745a0efe6df96fd6c3d3f19c5114532b932d18af..895d8dbfd6b3888402a2fe92dc04a0f1537470ac 100644 |
| --- a/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp |
| +++ b/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp |
| @@ -110,7 +110,7 @@ static bool IframeIsAbovePlugin( |
| if (ro == ro2) |
| return true; |
| } |
| - ASSERT(false); // We should have seen ro1 and ro2 by now. |
| + DCHECK(false); // We should have seen ro1 and ro2 by now. |
|
tkent
2017/05/07 22:57:53
This should be NOTREACHED().
|
| return false; |
| } |
| } |
| @@ -158,7 +158,7 @@ void GetPluginOcclusions(Element* element, |
| const IntRect& frame_rect, |
| Vector<IntRect>& occlusions) { |
| LayoutObject* plugin_node = element->GetLayoutObject(); |
| - ASSERT(plugin_node); |
| + DCHECK(plugin_node); |
| if (!plugin_node->Style()) |
| return; |
| Vector<const LayoutObject*> plugin_zstack; |