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 6b9c3c8264588ca809c9da56d88cf6ac27a17842..a2dbd9f2f1d6fdcab5392391b4517fbaac570524 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -497,7 +497,7 @@ public: |
EPosition position() const { return static_cast<EPosition>(noninherited_flags.position); } |
bool hasOutOfFlowPosition() const { return position() == AbsolutePosition || position() == FixedPosition; } |
bool hasInFlowPosition() const { return position() == RelativePosition || position() == StickyPosition; } |
- bool hasViewportConstrainedPosition() const { return position() == FixedPosition; } |
+ bool hasViewportConstrainedPosition() const { return position() == FixedPosition || position() == StickyPosition; } |
EFloat floating() const { return static_cast<EFloat>(noninherited_flags.floating); } |
const Length& width() const { return m_box->width(); } |