| 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 840807efafc28841032b7312a96c91a507dffabf..802c68577b18b0fdd2792f9436a05bb345e00553 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| @@ -2953,6 +2953,9 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
|
| bool HasBorder() const { return Border().HasBorder(); }
|
| bool HasBorderDecoration() const { return HasBorder() || HasBorderFill(); }
|
| bool HasBorderRadius() const { return Border().HasBorderRadius(); }
|
| + bool HasBorderColorReferencingCurrentColor() const {
|
| + return Border().HasBorderColorReferencingCurrentColor();
|
| + }
|
|
|
| void ResetBorder() {
|
| ResetBorderImage();
|
| @@ -3044,6 +3047,9 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
|
| }
|
| int OutlineOutsetExtent() const;
|
| float GetOutlineStrokeWidthForFocusRing() const;
|
| + bool IsOutlineColorCurrentColor() const {
|
| + return HasOutline() && OutlineColor().IsCurrentColor();
|
| + }
|
|
|
| // Position utility functions.
|
| bool HasOutOfFlowPosition() const {
|
|
|