OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "gin/public/v8_platform.h" | 44 #include "gin/public/v8_platform.h" |
45 #include "modules/InitModules.h" | 45 #include "modules/InitModules.h" |
46 #include "platform/LayoutTestSupport.h" | 46 #include "platform/LayoutTestSupport.h" |
47 #include "platform/Logging.h" | 47 #include "platform/Logging.h" |
48 #include "platform/RuntimeEnabledFeatures.h" | 48 #include "platform/RuntimeEnabledFeatures.h" |
49 #include "platform/graphics/ImageDecodingStore.h" | 49 #include "platform/graphics/ImageDecodingStore.h" |
50 #include "platform/graphics/media/MediaPlayer.h" | 50 #include "platform/graphics/media/MediaPlayer.h" |
51 #include "platform/heap/Heap.h" | 51 #include "platform/heap/Heap.h" |
52 #include "platform/heap/glue/MessageLoopInterruptor.h" | 52 #include "platform/heap/glue/MessageLoopInterruptor.h" |
53 #include "platform/heap/glue/PendingGCRunner.h" | 53 #include "platform/heap/glue/PendingGCRunner.h" |
54 #include "platform/scheduler/Scheduler.h" | |
55 #include "public/platform/Platform.h" | 54 #include "public/platform/Platform.h" |
56 #include "public/platform/WebPrerenderingSupport.h" | 55 #include "public/platform/WebPrerenderingSupport.h" |
57 #include "public/platform/WebThread.h" | 56 #include "public/platform/WebThread.h" |
58 #include "web/IndexedDBClientImpl.h" | 57 #include "web/IndexedDBClientImpl.h" |
59 #include "web/WebMediaPlayerClientImpl.h" | 58 #include "web/WebMediaPlayerClientImpl.h" |
60 #include "wtf/Assertions.h" | 59 #include "wtf/Assertions.h" |
61 #include "wtf/CryptographicallyRandomNumber.h" | 60 #include "wtf/CryptographicallyRandomNumber.h" |
62 #include "wtf/MainThread.h" | 61 #include "wtf/MainThread.h" |
63 #include "wtf/WTF.h" | 62 #include "wtf/WTF.h" |
64 #include "wtf/text/AtomicString.h" | 63 #include "wtf/text/AtomicString.h" |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 | 236 |
238 V8PerIsolateData::destroy(isolate); | 237 V8PerIsolateData::destroy(isolate); |
239 | 238 |
240 shutdownWithoutV8(); | 239 shutdownWithoutV8(); |
241 } | 240 } |
242 | 241 |
243 void shutdownWithoutV8() | 242 void shutdownWithoutV8() |
244 { | 243 { |
245 ASSERT(!s_endOfTaskRunner); | 244 ASSERT(!s_endOfTaskRunner); |
246 CoreInitializer::shutdown(); | 245 CoreInitializer::shutdown(); |
247 Scheduler::shutdown(); | |
248 Heap::shutdown(); | 246 Heap::shutdown(); |
249 WTF::shutdown(); | 247 WTF::shutdown(); |
250 Platform::shutdown(); | 248 Platform::shutdown(); |
251 WebPrerenderingSupport::shutdown(); | 249 WebPrerenderingSupport::shutdown(); |
252 } | 250 } |
253 | 251 |
254 void setLayoutTestMode(bool value) | 252 void setLayoutTestMode(bool value) |
255 { | 253 { |
256 LayoutTestSupport::setIsRunningLayoutTest(value); | 254 LayoutTestSupport::setIsRunningLayoutTest(value); |
257 } | 255 } |
(...skipping 22 matching lines...) Expand all Loading... |
280 #endif // !LOG_DISABLED | 278 #endif // !LOG_DISABLED |
281 } | 279 } |
282 | 280 |
283 void resetPluginCache(bool reloadPages) | 281 void resetPluginCache(bool reloadPages) |
284 { | 282 { |
285 ASSERT(!reloadPages); | 283 ASSERT(!reloadPages); |
286 Page::refreshPlugins(); | 284 Page::refreshPlugins(); |
287 } | 285 } |
288 | 286 |
289 } // namespace blink | 287 } // namespace blink |
OLD | NEW |