| 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 92ba0eb06d50e6d7570f58d6bee9367c7354881e..a7254f82cf1954e4841113cd7d203798305245b5 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -1767,9 +1767,8 @@
|
| *viewport_constrained_objects_) {
|
| LayoutObject* layout_object = viewport_constrained_object;
|
| LayoutItem layout_item = LayoutItem(layout_object);
|
| - DCHECK(layout_item.Style()->HasViewportConstrainedPosition() ||
|
| - layout_item.Style()->HasStickyConstrainedPosition());
|
| - DCHECK(layout_item.HasLayer());
|
| + ASSERT(layout_item.Style()->HasViewportConstrainedPosition());
|
| + ASSERT(layout_item.HasLayer());
|
| PaintLayer* layer = LayoutBoxModel(layout_item).Layer();
|
|
|
| if (layer->IsPaintInvalidationContainer())
|
|
|