| 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;
|
|
|