| Index: third_party/WebKit/Source/core/page/scrolling/RootScrollerUtil.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/scrolling/RootScrollerUtil.cpp b/third_party/WebKit/Source/core/page/scrolling/RootScrollerUtil.cpp
|
| index 1325221e5aef0c91d6cbce4ca556dc62819d32a2..6d80002a3c95ff1214c4d605f69bb1102d65de25 100644
|
| --- a/third_party/WebKit/Source/core/page/scrolling/RootScrollerUtil.cpp
|
| +++ b/third_party/WebKit/Source/core/page/scrolling/RootScrollerUtil.cpp
|
| @@ -36,10 +36,9 @@ ScrollableArea* scrollableAreaForRootScroller(const Element& element) {
|
| }
|
|
|
| PaintLayer* paintLayerForRootScroller(const Element* element) {
|
| - if (!element || !element->layoutObject())
|
| + if (!element || !element->layoutObject() || !element->layoutObject()->isBox())
|
| return nullptr;
|
|
|
| - DCHECK(element->layoutObject()->isBox());
|
| LayoutBox* box = toLayoutBox(element->layoutObject());
|
|
|
| // If the root scroller is the <html> element we do a bit of a fake out
|
|
|