Chromium Code Reviews| Index: ios/chrome/app/main_controller.mm |
| diff --git a/ios/chrome/app/main_controller.mm b/ios/chrome/app/main_controller.mm |
| index 86e67ba58b16b6633835ad0a6240be1d6d989e03..523334ce6bbc731379baccac4b67af6d3134ea26 100644 |
| --- a/ios/chrome/app/main_controller.mm |
| +++ b/ios/chrome/app/main_controller.mm |
| @@ -1167,16 +1167,8 @@ enum class StackViewDismissalMode { NONE, NORMAL, INCOGNITO }; |
| } |
| - (void)scheduleFreeMemoryMonitoring { |
|
marq (ping after 24h)
2017/03/16 13:40:58
Maybe this shouldn't be a schedule.. task and inst
gambard
2017/03/17 08:57:46
Done.
|
| - // TODO(crbug.com/649338): See if this method cannot call PostBlockingPoolTask |
| - // directly instead of enqueueing a block. |
| - [[DeferredInitializationRunner sharedInstance] |
| - enqueueBlockNamed:kMemoryMonitoring |
| - block:^{ |
| - web::WebThread::PostBlockingPoolTask( |
| - FROM_HERE, |
| - base::Bind( |
| - &ios_internal::AsynchronousFreeMemoryMonitor)); |
| - }]; |
| + web::WebThread::PostBlockingPoolTask( |
| + FROM_HERE, base::Bind(&ios_internal::AsynchronousFreeMemoryMonitor)); |
| } |
| - (void)scheduleLowPriorityStartupTasks { |