| Index: third_party/WebKit/Source/core/html/HTMLBodyElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLBodyElement.cpp b/third_party/WebKit/Source/core/html/HTMLBodyElement.cpp
|
| index a69c782a08d00a643fde6ceb5837d63a24a651e1..475473741bb379df0596f3dd83adfb3993f5dafd 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLBodyElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLBodyElement.cpp
|
| @@ -33,6 +33,7 @@
|
| #include "core/dom/StyleChangeReason.h"
|
| #include "core/editing/EditingUtilities.h"
|
| #include "core/frame/LocalFrame.h"
|
| +#include "core/frame/UseCounter.h"
|
| #include "core/html/HTMLFrameElementBase.h"
|
| #include "core/html/parser/HTMLParserIdioms.h"
|
|
|
| @@ -137,6 +138,7 @@ void HTMLBodyElement::parseAttribute(const QualifiedName& name, const AtomicStri
|
| } else if (name == onscrollAttr) {
|
| document().setWindowAttributeEventListener(EventTypeNames::scroll, createAttributeEventListener(document().frame(), name, value, eventParameterName()));
|
| } else if (name == onselectionchangeAttr) {
|
| + UseCounter::count(document(), UseCounter::HTMLBodyElementOnSelectionChangeAttribute);
|
| document().setAttributeEventListener(EventTypeNames::selectionchange, createAttributeEventListener(document().frame(), name, value, eventParameterName()));
|
| } else if (name == onstorageAttr) {
|
| document().setWindowAttributeEventListener(EventTypeNames::storage, createAttributeEventListener(document().frame(), name, value, eventParameterName()));
|
|
|