| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of the XSL implementation. | 2 * This file is part of the XSL implementation. |
| 3 * | 3 * |
| 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple, Inc. All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple, Inc. All rights reserved. |
| 5 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@webkit.org> | 5 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@webkit.org> |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 #include "core/xml/parser/XMLDocumentParser.h" | 39 #include "core/xml/parser/XMLDocumentParser.h" |
| 40 #include "platform/SharedBuffer.h" | 40 #include "platform/SharedBuffer.h" |
| 41 #include "platform/loader/fetch/FetchInitiatorTypeNames.h" | 41 #include "platform/loader/fetch/FetchInitiatorTypeNames.h" |
| 42 #include "platform/loader/fetch/RawResource.h" | 42 #include "platform/loader/fetch/RawResource.h" |
| 43 #include "platform/loader/fetch/Resource.h" | 43 #include "platform/loader/fetch/Resource.h" |
| 44 #include "platform/loader/fetch/ResourceError.h" | 44 #include "platform/loader/fetch/ResourceError.h" |
| 45 #include "platform/loader/fetch/ResourceFetcher.h" | 45 #include "platform/loader/fetch/ResourceFetcher.h" |
| 46 #include "platform/loader/fetch/ResourceRequest.h" | 46 #include "platform/loader/fetch/ResourceRequest.h" |
| 47 #include "platform/loader/fetch/ResourceResponse.h" | 47 #include "platform/loader/fetch/ResourceResponse.h" |
| 48 #include "platform/weborigin/SecurityOrigin.h" | 48 #include "platform/weborigin/SecurityOrigin.h" |
| 49 #include "wtf/Assertions.h" | 49 #include "platform/wtf/Assertions.h" |
| 50 #include "wtf/allocator/Partitions.h" | 50 #include "platform/wtf/allocator/Partitions.h" |
| 51 #include "wtf/text/CString.h" | 51 #include "platform/wtf/text/CString.h" |
| 52 #include "wtf/text/StringBuffer.h" | 52 #include "platform/wtf/text/StringBuffer.h" |
| 53 #include "wtf/text/UTF8.h" | 53 #include "platform/wtf/text/UTF8.h" |
| 54 | 54 |
| 55 namespace blink { | 55 namespace blink { |
| 56 | 56 |
| 57 void XSLTProcessor::GenericErrorFunc(void*, const char*, ...) { | 57 void XSLTProcessor::GenericErrorFunc(void*, const char*, ...) { |
| 58 // It would be nice to do something with this error message. | 58 // It would be nice to do something with this error message. |
| 59 } | 59 } |
| 60 | 60 |
| 61 void XSLTProcessor::ParseErrorFunc(void* user_data, xmlError* error) { | 61 void XSLTProcessor::ParseErrorFunc(void* user_data, xmlError* error) { |
| 62 FrameConsole* console = static_cast<FrameConsole*>(user_data); | 62 FrameConsole* console = static_cast<FrameConsole*>(user_data); |
| 63 if (!console) | 63 if (!console) |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 | 388 |
| 389 sheet->method = orig_method; | 389 sheet->method = orig_method; |
| 390 SetXSLTLoadCallBack(0, 0, 0); | 390 SetXSLTLoadCallBack(0, 0, 0); |
| 391 xsltFreeStylesheet(sheet); | 391 xsltFreeStylesheet(sheet); |
| 392 stylesheet_ = nullptr; | 392 stylesheet_ = nullptr; |
| 393 | 393 |
| 394 return success; | 394 return success; |
| 395 } | 395 } |
| 396 | 396 |
| 397 } // namespace blink | 397 } // namespace blink |
| OLD | NEW |