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

Unified Diff: chrome/browser/chromeos/drive/file_system.cc

Issue 23548025: Introduce State to DriveIntegrationService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
« no previous file with comments | « chrome/browser/chromeos/drive/drive_integration_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/file_system.cc
diff --git a/chrome/browser/chromeos/drive/file_system.cc b/chrome/browser/chromeos/drive/file_system.cc
index 6d906de449d51c5f35cc4f087d506e2da715b5ce..aa7eda20f1b29c8a116d3db3e8ddbc607628ffa6 100644
--- a/chrome/browser/chromeos/drive/file_system.cc
+++ b/chrome/browser/chromeos/drive/file_system.cc
@@ -401,7 +401,8 @@ FileSystem::~FileSystem() {
// shutdown.
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- change_list_loader_->RemoveObserver(this);
+ if (change_list_loader_)
+ change_list_loader_->RemoveObserver(this);
}
void FileSystem::AddObserver(FileSystemObserver* observer) {
« no previous file with comments | « chrome/browser/chromeos/drive/drive_integration_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698