| Index: third_party/WebKit/Source/core/html/HTMLTableElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLTableElement.cpp b/third_party/WebKit/Source/core/html/HTMLTableElement.cpp
|
| index 6d507ba3f0712a285d36db17bfa20c961dd39415..fa9770af711c2476bb05cd0cfdd0eec908c8ba84 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLTableElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLTableElement.cpp
|
| @@ -38,6 +38,7 @@
|
| #include "core/dom/ExceptionCode.h"
|
| #include "core/dom/NodeListsNodeData.h"
|
| #include "core/dom/StyleChangeReason.h"
|
| +#include "core/frame/UseCounter.h"
|
| #include "core/html/HTMLTableCaptionElement.h"
|
| #include "core/html/HTMLTableCellElement.h"
|
| #include "core/html/HTMLTableRowElement.h"
|
| @@ -316,6 +317,9 @@ void HTMLTableElement::collectStyleForPresentationAttribute(
|
| } else if (name == backgroundAttr) {
|
| String url = stripLeadingAndTrailingHTMLSpaces(value);
|
| if (!url.isEmpty()) {
|
| + UseCounter::count(
|
| + document(),
|
| + UseCounter::HTMLTableElementPresentationAttributeBackground);
|
| CSSImageValue* imageValue =
|
| CSSImageValue::create(url, document().completeURL(url));
|
| imageValue->setReferrer(Referrer(document().outgoingReferrer(),
|
|
|