| 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 1713110cf47c567fb45f7334f7687ebf57ec759f..b08f5130da13bb6d5837cf4f7f5092498e823f91 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 != BNONE);
|
| + return width() && (m_style != BNONE);
|
| }
|
|
|
| bool isTransparent() const
|
| @@ -55,9 +55,9 @@ public:
|
| return !m_colorIsCurrentColor && !m_color.alpha();
|
| }
|
|
|
| - bool isVisible(bool checkStyle = true) const
|
| + bool isVisible() const
|
| {
|
| - return nonZero(checkStyle) && !isTransparent() && (!checkStyle || m_style != BHIDDEN);
|
| + return nonZero() && !isTransparent() && (m_style != BHIDDEN);
|
| }
|
|
|
| bool operator==(const BorderValue& o) const
|
|
|