DescriptionFix potential SEGV issue.
DriveIntegrationServiceFactory::GetForProfile may return NULL, if the Drive
is disabled, so ->file_system() can be SEGV error. This CL replaces it by
drive::util::GetFileSystemByProfile and handles cases that NULL is returned.
BUG=284972
TEST=Ran unit_tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221634
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|