| Index: third_party/WebKit/Source/core/css/CSSPaintValue.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSPaintValue.cpp b/third_party/WebKit/Source/core/css/CSSPaintValue.cpp
|
| index 9a4a640b144d2696d3d0554823fc6a919a08aa34..82cc7572596e06db94df34350b3630e34051cc60 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSPaintValue.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSPaintValue.cpp
|
| @@ -56,6 +56,11 @@ void CSSPaintValue::paintImageGeneratorReady()
|
| }
|
| }
|
|
|
| +bool CSSPaintValue::knownToBeOpaque(const LayoutObject& layoutObject) const
|
| +{
|
| + return m_generator && !m_generator->hasAlpha();
|
| +}
|
| +
|
| bool CSSPaintValue::equals(const CSSPaintValue& other) const
|
| {
|
| return name() == other.name();
|
|
|