Index: chrome/browser/nacl_host/nacl_browser.cc |
diff --git a/chrome/browser/nacl_host/nacl_browser.cc b/chrome/browser/nacl_host/nacl_browser.cc |
index 655940798c61ad26429b15fb93d94d18f1e7df8f..211975a0169539bd2c15ea28d456f166856cbe11 100644 |
--- a/chrome/browser/nacl_host/nacl_browser.cc |
+++ b/chrome/browser/nacl_host/nacl_browser.cc |
@@ -350,7 +350,7 @@ void NaClBrowser::CheckWaiting() { |
// process host. |
for (std::vector<base::Closure>::iterator iter = waiting_.begin(); |
iter != waiting_.end(); ++iter) { |
- MessageLoop::current()->PostTask(FROM_HERE, *iter); |
+ base::MessageLoop::current()->PostTask(FROM_HERE, *iter); |
} |
waiting_.clear(); |
} |
@@ -441,11 +441,11 @@ void NaClBrowser::MarkValidationCacheAsModified() { |
if (!validation_cache_is_modified_) { |
// Wait before persisting to disk. This can coalesce multiple cache |
// modifications info a single disk write. |
- MessageLoop::current()->PostDelayedTask( |
- FROM_HERE, |
- base::Bind(&NaClBrowser::PersistValidationCache, |
- weak_factory_.GetWeakPtr()), |
- base::TimeDelta::FromMilliseconds(kValidationCacheCoalescingTimeMS)); |
+ base::MessageLoop::current()->PostDelayedTask( |
+ FROM_HERE, |
+ base::Bind(&NaClBrowser::PersistValidationCache, |
+ weak_factory_.GetWeakPtr()), |
+ base::TimeDelta::FromMilliseconds(kValidationCacheCoalescingTimeMS)); |
validation_cache_is_modified_ = true; |
} |
} |