| 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 34d120b1fdbd0c54d21d30dceb5bf79ed4210d1a..24f40e00b0dacbc554d60be8fa326b5787c94dcd 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLProgressElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLProgressElement.cpp
|
| @@ -59,8 +59,11 @@ RawPtr<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);
|
| }
|
|
|
|
|