| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) |
| 3 * Copyright (C) 2005, 2006, 2008, 2014 Apple Inc. All rights reserved. | 3 * Copyright (C) 2005, 2006, 2008, 2014 Apple Inc. All rights reserved. |
| 4 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 4 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 5 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 5 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) |
| 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 7 * Copyright (C) 2008 Holger Hans Peter Freyther | 7 * Copyright (C) 2008 Holger Hans Peter Freyther |
| 8 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 8 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 #include "core/inspector/ConsoleMessage.h" | 55 #include "core/inspector/ConsoleMessage.h" |
| 56 #include "core/loader/FrameLoader.h" | 56 #include "core/loader/FrameLoader.h" |
| 57 #include "core/loader/ImageLoader.h" | 57 #include "core/loader/ImageLoader.h" |
| 58 #include "core/svg/graphics/SVGImage.h" | 58 #include "core/svg/graphics/SVGImage.h" |
| 59 #include "core/xml/DocumentXSLT.h" | 59 #include "core/xml/DocumentXSLT.h" |
| 60 #include "core/xml/parser/SharedBufferReader.h" | 60 #include "core/xml/parser/SharedBufferReader.h" |
| 61 #include "core/xml/parser/XMLDocumentParserScope.h" | 61 #include "core/xml/parser/XMLDocumentParserScope.h" |
| 62 #include "core/xml/parser/XMLParserInput.h" | 62 #include "core/xml/parser/XMLParserInput.h" |
| 63 #include "platform/RuntimeEnabledFeatures.h" | 63 #include "platform/RuntimeEnabledFeatures.h" |
| 64 #include "platform/SharedBuffer.h" | 64 #include "platform/SharedBuffer.h" |
| 65 #include "platform/TraceEvent.h" | |
| 66 #include "platform/network/ResourceError.h" | 65 #include "platform/network/ResourceError.h" |
| 67 #include "platform/network/ResourceRequest.h" | 66 #include "platform/network/ResourceRequest.h" |
| 68 #include "platform/network/ResourceResponse.h" | 67 #include "platform/network/ResourceResponse.h" |
| 68 #include "platform/tracing/TraceEvent.h" |
| 69 #include "platform/weborigin/SecurityOrigin.h" | 69 #include "platform/weborigin/SecurityOrigin.h" |
| 70 #include "wtf/AutoReset.h" | 70 #include "wtf/AutoReset.h" |
| 71 #include "wtf/PtrUtil.h" | 71 #include "wtf/PtrUtil.h" |
| 72 #include "wtf/StringExtras.h" | 72 #include "wtf/StringExtras.h" |
| 73 #include "wtf/Threading.h" | 73 #include "wtf/Threading.h" |
| 74 #include "wtf/Vector.h" | 74 #include "wtf/Vector.h" |
| 75 #include "wtf/text/UTF8.h" | 75 #include "wtf/text/UTF8.h" |
| 76 #include <libxml/catalog.h> | 76 #include <libxml/catalog.h> |
| 77 #include <libxml/parser.h> | 77 #include <libxml/parser.h> |
| 78 #include <libxml/parserInternals.h> | 78 #include <libxml/parserInternals.h> |
| (...skipping 1572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1651 sax.initialized = XML_SAX2_MAGIC; | 1651 sax.initialized = XML_SAX2_MAGIC; |
| 1652 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax,
&state); | 1652 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax,
&state); |
| 1653 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; | 1653 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; |
| 1654 parseChunk(parser->context(), parseString); | 1654 parseChunk(parser->context(), parseString); |
| 1655 finishParsing(parser->context()); | 1655 finishParsing(parser->context()); |
| 1656 attrsOK = state.gotAttributes; | 1656 attrsOK = state.gotAttributes; |
| 1657 return state.attributes; | 1657 return state.attributes; |
| 1658 } | 1658 } |
| 1659 | 1659 |
| 1660 } // namespace blink | 1660 } // namespace blink |
| OLD | NEW |