| Index: chrome/browser/chromeos/extensions/file_browser_event_router.cc
|
| diff --git a/chrome/browser/chromeos/extensions/file_browser_event_router.cc b/chrome/browser/chromeos/extensions/file_browser_event_router.cc
|
| index 87c9dfae8948d849bafcb61420cb0f547c7c6f7d..3332c34807759fcc7d8d3795d88cf84199b9a5a7 100644
|
| --- a/chrome/browser/chromeos/extensions/file_browser_event_router.cc
|
| +++ b/chrome/browser/chromeos/extensions/file_browser_event_router.cc
|
| @@ -104,7 +104,8 @@ void FileBrowserEventRouter::ShutdownOnUIThread() {
|
| GDataSystemServiceFactory::FindForProfile(profile_);
|
| if (system_service) {
|
| system_service->file_system()->RemoveObserver(this);
|
| - system_service->file_system()->RemoveOperationObserver(this);
|
| + system_service->file_system()->GetOperationRegistry()->
|
| + RemoveObserver(this);
|
| }
|
|
|
| profile_ = NULL;
|
| @@ -129,7 +130,7 @@ void FileBrowserEventRouter::ObserveFileSystemEvents() {
|
| NOTREACHED();
|
| return;
|
| }
|
| - system_service->file_system()->AddOperationObserver(this);
|
| + system_service->file_system()->GetOperationRegistry()->AddObserver(this);
|
| system_service->file_system()->AddObserver(this);
|
| }
|
|
|
|
|