Index: chrome/browser/chromeos/gdata/gdata_operation_runner.h |
=================================================================== |
--- chrome/browser/chromeos/gdata/gdata_operation_runner.h (revision 149581) |
+++ chrome/browser/chromeos/gdata/gdata_operation_runner.h (working copy) |
@@ -69,10 +69,8 @@ |
scoped_ptr<GDataAuthService> auth_service_; |
scoped_ptr<GDataOperationRegistry> operation_registry_; |
- |
- // Note: This should remain the last member so it'll be destroyed and |
- // invalidate its weak pointers before any other members are destroyed. |
base::WeakPtrFactory<GDataOperationRunner> weak_ptr_factory_; |
+ base::WeakPtr<GDataOperationRunner> weak_ptr_bound_to_ui_thread_; |
DISALLOW_COPY_AND_ASSIGN(GDataOperationRunner); |
}; |