Commit 3c60e676 authored by haraken@chromium.org's avatar haraken@chromium.org

Readd a UseCounter for HTMLMarqueeElement

I misremoved the UseCounter in the process of moving marquee implementation
to JS. This CL readds the UseCounter.

Review URL: https://codereview.chromium.org/653753003

git-svn-id: svn://svn.chromium.org/blink/trunk@183635 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 2e8311bc
......@@ -27,6 +27,7 @@
#include "bindings/core/v8/V8HTMLMarqueeElement.h"
#include "core/HTMLNames.h"
#include "core/dom/Document.h"
#include "core/frame/UseCounter.h"
namespace blink {
......@@ -35,6 +36,7 @@ inline HTMLMarqueeElement::HTMLMarqueeElement(Document& document)
{
v8::Handle<v8::Value> classObject = PrivateScriptRunner::installClassIfNeeded(document.frame(), "HTMLMarqueeElement");
RELEASE_ASSERT(!classObject.IsEmpty());
UseCounter::count(document, UseCounter::HTMLMarqueeElement);
}
PassRefPtrWillBeRawPtr<HTMLMarqueeElement> HTMLMarqueeElement::create(Document& document)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment