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

Unified Diff: chrome/browser/renderer_host/web_cache_manager.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/web_cache_manager.cc
diff --git a/chrome/browser/renderer_host/web_cache_manager.cc b/chrome/browser/renderer_host/web_cache_manager.cc
index 9374a5dae4e8613286aaa406371d114b3abb9a0d..2188ff30f0d51f2a3e3b571486fb3c0e56eb77eb 100644
--- a/chrome/browser/renderer_host/web_cache_manager.cc
+++ b/chrome/browser/renderer_host/web_cache_manager.cc
@@ -418,10 +418,10 @@ void WebCacheManager::ReviseAllocationStrategy() {
void WebCacheManager::ReviseAllocationStrategyLater() {
// Ask to be called back in a few milliseconds to actually recompute our
// allocation.
- MessageLoop::current()->PostDelayedTask(FROM_HERE,
- base::Bind(
- &WebCacheManager::ReviseAllocationStrategy,
- weak_factory_.GetWeakPtr()),
+ base::MessageLoop::current()->PostDelayedTask(
+ FROM_HERE,
+ base::Bind(&WebCacheManager::ReviseAllocationStrategy,
+ weak_factory_.GetWeakPtr()),
base::TimeDelta::FromMilliseconds(kReviseAllocationDelayMS));
}

Powered by Google App Engine
This is Rietveld 408576698