| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #include "core/html/HTMLDocument.h" | 36 #include "core/html/HTMLDocument.h" |
| 37 #include "core/html/parser/AtomicHTMLToken.h" | 37 #include "core/html/parser/AtomicHTMLToken.h" |
| 38 #include "core/html/parser/BackgroundHTMLParser.h" | 38 #include "core/html/parser/BackgroundHTMLParser.h" |
| 39 #include "core/html/parser/HTMLParserScheduler.h" | 39 #include "core/html/parser/HTMLParserScheduler.h" |
| 40 #include "core/html/parser/HTMLParserThread.h" | 40 #include "core/html/parser/HTMLParserThread.h" |
| 41 #include "core/html/parser/HTMLScriptRunner.h" | 41 #include "core/html/parser/HTMLScriptRunner.h" |
| 42 #include "core/html/parser/HTMLTreeBuilder.h" | 42 #include "core/html/parser/HTMLTreeBuilder.h" |
| 43 #include "core/inspector/InspectorInstrumentation.h" | 43 #include "core/inspector/InspectorInstrumentation.h" |
| 44 #include "core/inspector/InspectorTraceEvents.h" | 44 #include "core/inspector/InspectorTraceEvents.h" |
| 45 #include "core/loader/DocumentLoader.h" | 45 #include "core/loader/DocumentLoader.h" |
| 46 #include "core/loader/NavigationScheduler.h" |
| 46 #include "platform/SharedBuffer.h" | 47 #include "platform/SharedBuffer.h" |
| 47 #include "platform/ThreadSafeFunctional.h" | 48 #include "platform/ThreadSafeFunctional.h" |
| 48 #include "platform/ThreadedDataReceiver.h" | 49 #include "platform/ThreadedDataReceiver.h" |
| 49 #include "platform/TraceEvent.h" | 50 #include "platform/TraceEvent.h" |
| 50 #include "platform/heap/Handle.h" | 51 #include "platform/heap/Handle.h" |
| 51 #include "public/platform/Platform.h" | 52 #include "public/platform/Platform.h" |
| 52 #include "public/platform/WebScheduler.h" | 53 #include "public/platform/WebScheduler.h" |
| 53 #include "public/platform/WebThread.h" | 54 #include "public/platform/WebThread.h" |
| 54 #include "wtf/RefCounted.h" | 55 #include "wtf/RefCounted.h" |
| 55 #include "wtf/TemporaryChange.h" | 56 #include "wtf/TemporaryChange.h" |
| (...skipping 1065 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1121 void HTMLDocumentParser::setDecoder(PassOwnPtr<TextResourceDecoder> decoder) | 1122 void HTMLDocumentParser::setDecoder(PassOwnPtr<TextResourceDecoder> decoder) |
| 1122 { | 1123 { |
| 1123 ASSERT(decoder); | 1124 ASSERT(decoder); |
| 1124 DecodedDataDocumentParser::setDecoder(decoder); | 1125 DecodedDataDocumentParser::setDecoder(decoder); |
| 1125 | 1126 |
| 1126 if (m_haveBackgroundParser) | 1127 if (m_haveBackgroundParser) |
| 1127 HTMLParserThread::shared()->postTask(threadSafeBind(&BackgroundHTMLParse
r::setDecoder, AllowCrossThreadAccess(m_backgroundParser), takeDecoder())); | 1128 HTMLParserThread::shared()->postTask(threadSafeBind(&BackgroundHTMLParse
r::setDecoder, AllowCrossThreadAccess(m_backgroundParser), takeDecoder())); |
| 1128 } | 1129 } |
| 1129 | 1130 |
| 1130 } | 1131 } |
| OLD | NEW |