| Index: third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp b/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp
|
| index 9bbd9d9692957a68cd67aef6ca17087ec88ac654..184826dc98fd70fc6260a8dd02dd23fad5db03c9 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp
|
| @@ -25,6 +25,7 @@
|
| #include "core/html/HTMLViewSourceDocument.h"
|
|
|
| #include "core/dom/Text.h"
|
| +#include "core/frame/UseCounter.h"
|
| #include "core/html/HTMLAnchorElement.h"
|
| #include "core/html/HTMLBRElement.h"
|
| #include "core/html/HTMLBaseElement.h"
|
| @@ -58,6 +59,7 @@ HTMLViewSourceDocument::HTMLViewSourceDocument(const DocumentInit& initializer,
|
| // FIXME: Why do view-source pages need to load in quirks mode?
|
| setCompatibilityMode(QuirksMode);
|
| lockCompatibilityMode();
|
| + UseCounter::count(*this, UseCounter::ViewSourceDocument);
|
| }
|
|
|
| DocumentParser* HTMLViewSourceDocument::createParser()
|
|
|