Index: Source/core/html/HTMLPreElement.cpp |
diff --git a/Source/core/html/HTMLPreElement.cpp b/Source/core/html/HTMLPreElement.cpp |
index 250f08c3fc53b0c20d5995ffaa74fe4e0aa0b489..a4956ff986bba36feecbcee6c873fe3e4067c115 100644 |
--- a/Source/core/html/HTMLPreElement.cpp |
+++ b/Source/core/html/HTMLPreElement.cpp |
@@ -27,7 +27,6 @@ |
#include "core/CSSValueKeywords.h" |
#include "core/HTMLNames.h" |
#include "core/css/StylePropertySet.h" |
-#include "core/frame/UseCounter.h" |
namespace blink { |
@@ -50,12 +49,10 @@ bool HTMLPreElement::isPresentationAttribute(const QualifiedName& name) const |
void HTMLPreElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style) |
{ |
- if (name == wrapAttr) { |
- UseCounter::count(document(), UseCounter::HTMLPreElementWrap); |
+ if (name == wrapAttr) |
style->setProperty(CSSPropertyWhiteSpace, CSSValuePreWrap); |
- } else { |
+ else |
HTMLElement::collectStyleForPresentationAttribute(name, value, style); |
- } |
} |
} |