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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 isolate->Exit(); | 227 isolate->Exit(); |
228 isolate->Dispose(); | 228 isolate->Dispose(); |
229 | 229 |
230 shutdownWithoutV8(); | 230 shutdownWithoutV8(); |
231 } | 231 } |
232 | 232 |
233 void shutdownWithoutV8() | 233 void shutdownWithoutV8() |
234 { | 234 { |
235 ASSERT(!s_endOfTaskRunner); | 235 ASSERT(!s_endOfTaskRunner); |
236 CoreInitializer::shutdown(); | 236 CoreInitializer::shutdown(); |
| 237 Scheduler::shutdown(); |
237 Heap::shutdown(); | 238 Heap::shutdown(); |
238 WTF::shutdown(); | 239 WTF::shutdown(); |
239 Scheduler::shutdown(); | |
240 Platform::shutdown(); | 240 Platform::shutdown(); |
241 WebPrerenderingSupport::shutdown(); | 241 WebPrerenderingSupport::shutdown(); |
242 } | 242 } |
243 | 243 |
244 void setLayoutTestMode(bool value) | 244 void setLayoutTestMode(bool value) |
245 { | 245 { |
246 LayoutTestSupport::setIsRunningLayoutTest(value); | 246 LayoutTestSupport::setIsRunningLayoutTest(value); |
247 } | 247 } |
248 | 248 |
249 bool layoutTestMode() | 249 bool layoutTestMode() |
(...skipping 19 matching lines...) Expand all Loading... |
269 channel->state = WTFLogChannelOn; | 269 channel->state = WTFLogChannelOn; |
270 #endif // !LOG_DISABLED | 270 #endif // !LOG_DISABLED |
271 } | 271 } |
272 | 272 |
273 void resetPluginCache(bool reloadPages) | 273 void resetPluginCache(bool reloadPages) |
274 { | 274 { |
275 Page::refreshPlugins(reloadPages); | 275 Page::refreshPlugins(reloadPages); |
276 } | 276 } |
277 | 277 |
278 } // namespace blink | 278 } // namespace blink |
OLD | NEW |