diff options
Diffstat (limited to 'chrome/browser/chromeos/gdata/gdata_sync_client.h')
-rw-r--r-- | chrome/browser/chromeos/gdata/gdata_sync_client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/gdata/gdata_sync_client.h b/chrome/browser/chromeos/gdata/gdata_sync_client.h index 23324c750..ba9010f 100644 --- a/chrome/browser/chromeos/gdata/gdata_sync_client.h +++ b/chrome/browser/chromeos/gdata/gdata_sync_client.h @@ -196,6 +196,8 @@ class GDataSyncClient : public GDataFileSystemInterface::Observer, // True if the sync loop is running. bool sync_loop_is_running_; + // 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<GDataSyncClient> weak_ptr_factory_; DISALLOW_COPY_AND_ASSIGN(GDataSyncClient); |