diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/xml/parser/XMLDocumentParserScope.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/xml/parser/XMLDocumentParserScope.h | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/chromium/third_party/WebKit/Source/core/xml/parser/XMLDocumentParserScope.h b/chromium/third_party/WebKit/Source/core/xml/parser/XMLDocumentParserScope.h index 613d165cb27..4b06862c8b8 100644 --- a/chromium/third_party/WebKit/Source/core/xml/parser/XMLDocumentParserScope.h +++ b/chromium/third_party/WebKit/Source/core/xml/parser/XMLDocumentParserScope.h @@ -33,23 +33,22 @@ namespace WebCore { class ResourceFetcher; - class XMLDocumentParserScope { - WTF_MAKE_NONCOPYABLE(XMLDocumentParserScope); - public: - XMLDocumentParserScope(ResourceFetcher*); - ~XMLDocumentParserScope(); - - static ResourceFetcher* currentFetcher; - - XMLDocumentParserScope(ResourceFetcher*, xmlGenericErrorFunc, xmlStructuredErrorFunc = 0, void* errorContext = 0); - - private: - ResourceFetcher* m_oldFetcher; - - xmlGenericErrorFunc m_oldGenericErrorFunc; - xmlStructuredErrorFunc m_oldStructuredErrorFunc; - void* m_oldErrorContext; - }; +class XMLDocumentParserScope { + WTF_MAKE_NONCOPYABLE(XMLDocumentParserScope); +public: + explicit XMLDocumentParserScope(ResourceFetcher*); + XMLDocumentParserScope(ResourceFetcher*, xmlGenericErrorFunc, xmlStructuredErrorFunc = 0, void* errorContext = 0); + ~XMLDocumentParserScope(); + + static ResourceFetcher* currentFetcher; + +private: + ResourceFetcher* m_oldFetcher; + + xmlGenericErrorFunc m_oldGenericErrorFunc; + xmlStructuredErrorFunc m_oldStructuredErrorFunc; + void* m_oldErrorContext; +}; } // namespace WebCore |