| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index 5ba449da09f6838f13fb7d2f535a713d92be2708..19433b1896d94564fb1a5fedae29e4757a4973de 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -593,12 +593,7 @@ void Document::updateViewportApplyScroll()
|
| || ownerElement())
|
| return;
|
|
|
| - Element* newScrollingElement = scrollingElement();
|
| -
|
| - // If there is no scrolling element (in QuirksMode and body is scrollable),
|
| - // install the viewport scroll callback on the <HTML> element.
|
| - if (!newScrollingElement)
|
| - newScrollingElement = m_documentElement;
|
| + Element* newScrollingElement = m_documentElement;
|
|
|
| if (newScrollingElement == m_oldScrollingElement)
|
| return;
|
|
|