| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index 774792307321d67b7e0512babcf8a92ef6884c45..af21d603ccc5819875bc89d3525999f6c952955c 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -1743,7 +1743,8 @@ bool FrameView::invalidateViewportConstrainedObjects() {
|
| for (const auto& viewportConstrainedObject : *m_viewportConstrainedObjects) {
|
| LayoutObject* layoutObject = viewportConstrainedObject;
|
| LayoutItem layoutItem = LayoutItem(layoutObject);
|
| - ASSERT(layoutItem.style()->hasViewportConstrainedPosition());
|
| + DCHECK(layoutItem.style()->hasViewportConstrainedPosition() ||
|
| + layoutItem.style()->hasStickyConstrainedPosition());
|
| ASSERT(layoutItem.hasLayer());
|
| PaintLayer* layer = LayoutBoxModel(layoutItem).layer();
|
|
|
|
|