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

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

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/SmartClip.cpp
diff --git a/third_party/WebKit/Source/core/frame/SmartClip.cpp b/third_party/WebKit/Source/core/frame/SmartClip.cpp
index caa41f5ec82a211d3fb925a37bf092d591c073cd..bd1070ac2a98f8d0fa3be5e676aea2041f24aab0 100644
--- a/third_party/WebKit/Source/core/frame/SmartClip.cpp
+++ b/third_party/WebKit/Source/core/frame/SmartClip.cpp
@@ -202,7 +202,7 @@ Node* SmartClip::FindBestOverlappingNode(Node* root_node,
// image in the smart clip. It seems to want to include sprites created from
// CSS background images but to skip actual backgrounds.
bool SmartClip::ShouldSkipBackgroundImage(Node* node) {
- ASSERT(node);
+ DCHECK(node);
// Apparently we're only interested in background images on spans and divs.
if (!isHTMLSpanElement(*node) && !isHTMLDivElement(*node))
return true;
« no previous file with comments | « third_party/WebKit/Source/core/frame/RootFrameViewport.h ('k') | third_party/WebKit/Source/core/frame/SuspendableTimer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698