Index: third_party/WebKit/Source/core/style/ComputedStyle.h |
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h |
index e1a644aec1cfadd6e0f158bb1855a4fbc661971f..8ec519d32a155e8fe180594cc304bae0c983587f 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -3339,6 +3339,10 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase<ComputedStyle>, |
bool PreserveNewline() const { return PreserveNewline(WhiteSpace()); } |
+ static bool BorderStyleIsVisible(EBorderStyle style) { |
+ return style != EBorderStyle::kNone && style != EBorderStyle::kHidden; |
+ } |
+ |
static bool CollapseWhiteSpace(EWhiteSpace ws) { |
// Pre and prewrap do not collapse whitespace. |
return ws != EWhiteSpace::kPre && ws != EWhiteSpace::kPreWrap; |