| Index: third_party/WebKit/Source/core/html/HTMLProgressElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLProgressElement.cpp b/third_party/WebKit/Source/core/html/HTMLProgressElement.cpp
|
| index 1b6f5d5686b4ab61741a2a69205ff17b2fdbf6aa..2126672e2d69e065443ebb79b309ba0ddb5da6c3 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLProgressElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLProgressElement.cpp
|
| @@ -58,8 +58,11 @@ HTMLProgressElement* HTMLProgressElement::create(Document& document)
|
|
|
| LayoutObject* HTMLProgressElement::createLayoutObject(const ComputedStyle& style)
|
| {
|
| - if (!style.hasAppearance() || openShadowRoot())
|
| + if (!style.hasAppearance()) {
|
| + UseCounter::count(document(), UseCounter::ProgressElementWithNoneAppearance);
|
| return LayoutObject::createObject(this, style);
|
| + }
|
| + UseCounter::count(document(), UseCounter::ProgressElementWithProgressBarAppearance);
|
| return new LayoutProgress(this);
|
| }
|
|
|
|
|