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 961058bc971652f3943c34e9b438744279055798..f685e1334d340973b091f0dee7305a9fde70618b 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -3027,12 +3027,8 @@ |
GetPosition() == EPosition::kSticky; |
} |
bool HasViewportConstrainedPosition() const { |
- return GetPosition() == EPosition::kFixed; |
- } |
- bool HasStickyConstrainedPosition() const { |
- return GetPosition() == EPosition::kSticky && |
- (!Top().IsAuto() || !Left().IsAuto() || !Right().IsAuto() || |
- !Bottom().IsAuto()); |
+ return GetPosition() == EPosition::kFixed || |
+ GetPosition() == EPosition::kSticky; |
} |
// Clip utility functions. |