Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 1d88dad2de2f487beae9c3360d3be30767429b41..93b82a42765588aea8b50007544c6ca9e6cd7ade 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -1164,6 +1164,7 @@ String Document::defaultCharset() const |
void Document::setCharset(const String& charset) |
{ |
+ UseCounter::count(*this, UseCounter::DocumentSetCharset); |
if (DocumentLoader* documentLoader = loader()) |
documentLoader->setUserChosenEncoding(charset); |
WTF::TextEncoding encoding(charset); |