Index: Source/core/xml/parser/XMLDocumentParser.cpp |
diff --git a/Source/core/xml/parser/XMLDocumentParser.cpp b/Source/core/xml/parser/XMLDocumentParser.cpp |
index 37d889a20265aed4203f654473a0db8e86d5e82b..e47efa395885957385fd537c06331ade3b6ff854 100644 |
--- a/Source/core/xml/parser/XMLDocumentParser.cpp |
+++ b/Source/core/xml/parser/XMLDocumentParser.cpp |
@@ -629,6 +629,8 @@ static void* openFunc(const char* uri) |
ASSERT(XMLDocumentParserScope::currentFetcher); |
ASSERT(currentThread() == libxmlLoaderThread); |
+ UseCounter::count(XMLDocumentParserScope::currentFetcher->document(), UseCounter::XMLExternalDTD); |
kouhei (in TOK)
2014/09/08 17:07:58
Let's move this down.
tasak
2014/09/09 03:07:06
Done.
|
+ |
KURL url(KURL(), uri); |
if (!shouldAllowExternalLoad(url)) |