| Index: third_party/WebKit/Source/core/style/BorderValue.h
|
| diff --git a/third_party/WebKit/Source/core/style/BorderValue.h b/third_party/WebKit/Source/core/style/BorderValue.h
|
| index 7914be917c72d9f3382fe6942b8ad5a0ba28d0bb..78ea45661a2562c028e51a706d47524f7936e9ee 100644
|
| --- a/third_party/WebKit/Source/core/style/BorderValue.h
|
| +++ b/third_party/WebKit/Source/core/style/BorderValue.h
|
| @@ -45,9 +45,9 @@ public:
|
| {
|
| }
|
|
|
| - bool nonZero(bool checkStyle = true) const
|
| + bool nonZero() const
|
| {
|
| - return width() && (!checkStyle || m_style != BorderStyleNone);
|
| + return width() && (m_style != BorderStyleNone);
|
| }
|
|
|
| bool isTransparent() const
|
| @@ -55,11 +55,6 @@ public:
|
| return !m_colorIsCurrentColor && !m_color.alpha();
|
| }
|
|
|
| - bool isVisible(bool checkStyle = true) const
|
| - {
|
| - return nonZero(checkStyle) && !isTransparent() && (!checkStyle || m_style != BorderStyleHidden);
|
| - }
|
| -
|
| bool operator==(const BorderValue& o) const
|
| {
|
| return m_width == o.m_width && m_style == o.m_style && m_color == o.m_color && m_colorIsCurrentColor == o.m_colorIsCurrentColor;
|
|
|