Index: content/public/browser/browser_thread.h |
diff --git a/content/public/browser/browser_thread.h b/content/public/browser/browser_thread.h |
index 30ac554e65abb0eb4292de33e813a686fe97fda7..5cc594ab5b5ad3c421fef5b5574a4df9c433f8fa 100644 |
--- a/content/public/browser/browser_thread.h |
+++ b/content/public/browser/browser_thread.h |
@@ -145,8 +145,8 @@ class CONTENT_EXPORT BrowserThread { |
static bool DeleteSoon(ID identifier, |
const tracked_objects::Location& from_here, |
const T* object) { |
- return PostNonNestableTask( |
- identifier, from_here, new DeleteTask<T>(object)); |
+ return GetMessageLoopProxyForThread(identifier)->DeleteSoon( |
+ from_here, object); |
} |
template <class T> |