| Index: sky/engine/core/dom/Document.cpp
|
| diff --git a/sky/engine/core/dom/Document.cpp b/sky/engine/core/dom/Document.cpp
|
| index 465edccdaf8b363eb3ec1508d38d15b16f0665a3..8f395132cee42517a315f929d92311a79da32c37 100644
|
| --- a/sky/engine/core/dom/Document.cpp
|
| +++ b/sky/engine/core/dom/Document.cpp
|
| @@ -2309,10 +2309,7 @@ PassRefPtr<Event> Document::createEvent(const String& eventType, ExceptionState&
|
|
|
| void Document::addListenerTypeIfNeeded(const AtomicString& eventType)
|
| {
|
| - if (eventType == EventTypeNames::overflowchanged) {
|
| - UseCounter::countDeprecation(*this, UseCounter::OverflowChangedEvent);
|
| - addListenerType(OVERFLOWCHANGED_LISTENER);
|
| - } else if (eventType == EventTypeNames::webkitAnimationStart || (RuntimeEnabledFeatures::cssAnimationUnprefixedEnabled() && eventType == EventTypeNames::animationstart)) {
|
| + if (eventType == EventTypeNames::webkitAnimationStart || (RuntimeEnabledFeatures::cssAnimationUnprefixedEnabled() && eventType == EventTypeNames::animationstart)) {
|
| addListenerType(ANIMATIONSTART_LISTENER);
|
| } else if (eventType == EventTypeNames::webkitAnimationEnd || (RuntimeEnabledFeatures::cssAnimationUnprefixedEnabled() && eventType == EventTypeNames::animationend)) {
|
| addListenerType(ANIMATIONEND_LISTENER);
|
| @@ -2601,12 +2598,6 @@ void Document::finishedParsing()
|
|
|
| if (RefPtr<LocalFrame> f = frame()) {
|
| checkCompleted();
|
| -
|
| - // Check if the scrollbars are really needed for the content.
|
| - // If not, remove them, relayout, and repaint.
|
| - if (m_frame->view())
|
| - m_frame->view()->restoreScrollbar();
|
| -
|
| TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "MarkDOMContent", "data", InspectorMarkLoadEvent::data(f.get()));
|
| }
|
|
|
|
|