| Index: Source/core/dom/DOMImplementation.cpp
|
| diff --git a/Source/core/dom/DOMImplementation.cpp b/Source/core/dom/DOMImplementation.cpp
|
| index cbd66aabd8afd88fc2da30bc36285b5ec092b27c..e85a2d044a6ecc3e03a501f44f19566a13c8bde0 100644
|
| --- a/Source/core/dom/DOMImplementation.cpp
|
| +++ b/Source/core/dom/DOMImplementation.cpp
|
| @@ -46,6 +46,7 @@
|
| #include "core/html/TextDocument.h"
|
| #include "core/loader/FrameLoader.h"
|
| #include "core/frame/Frame.h"
|
| +#include "core/frame/UseCounter.h"
|
| #include "core/page/Page.h"
|
| #include "core/svg/SVGDocument.h"
|
| #include "platform/ContentType.h"
|
| @@ -177,6 +178,15 @@ bool DOMImplementation::hasFeature(const String& feature, const String& version)
|
| return true;
|
| }
|
|
|
| +bool DOMImplementation::hasFeatureForBindings(const String& feature, const String& version)
|
| +{
|
| + if (!hasFeature(feature, version)) {
|
| + UseCounter::count(m_document, UseCounter::DOMImplementationHasFeatureReturnFalse);
|
| + return false;
|
| + }
|
| + return true;
|
| +}
|
| +
|
| PassRefPtr<DocumentType> DOMImplementation::createDocumentType(const AtomicString& qualifiedName,
|
| const String& publicId, const String& systemId, ExceptionState& exceptionState)
|
| {
|
|
|