| Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| index 3a671d051c066787e9e0174febf1e9470cb43c82..df2f3f31e094321a58977afb1fabd093f1be9f78 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| @@ -367,6 +367,12 @@ void ComputedStyle::copyNonInheritedFromCached(const ComputedStyle& other)
|
| DCHECK_EQ(zoom(), initialZoom());
|
| }
|
|
|
| +bool ComputedStyle::hasImage()
|
| +{
|
| + return backgroundLayers().image() || maskLayers().image() || borderImage().image() || maskBoxImage().image() || (contentData() && contentData()->isImage()) || (boxReflect() && boxReflect()->mask().image()) || (shapeOutside() && shapeOutside()->image()) || cursors();
|
| +}
|
| +
|
| +
|
| bool ComputedStyle::operator==(const ComputedStyle& o) const
|
| {
|
| return inheritedEqual(o)
|
|
|