Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: Source/web/WebKit.cpp

Issue 475033002: scheduler: Shut down the scheduler before terminating the heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698