diff options
author | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-22 10:41:59 +0000 |
---|---|---|
committer | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-22 10:41:59 +0000 |
commit | ed6dac1dd65e0c9a200ff94345faa584eab1545c (patch) | |
tree | 7c4540c5b2e22ff142a1242f16f89a25335d24a1 /cloud_print/DEPS | |
parent | b4576a121159ec236346b8006b1ccdffbdc2640a (diff) | |
download | chromium_src-ed6dac1dd65e0c9a200ff94345faa584eab1545c.zip chromium_src-ed6dac1dd65e0c9a200ff94345faa584eab1545c.tar.gz chromium_src-ed6dac1dd65e0c9a200ff94345faa584eab1545c.tar.bz2 |
drive: Deal with the root directory same as others in MoveOperation.
Our current implementation of file moving is done in the following logic:
"if(source!=root) RemoveFrom(source); if(target!=root) AddTo(target)"
implicitly assuming "belonging to nowhere" means belonging to root.
But this is not the case.
This patch removes the "if !=root" checks and treats the root as same as other directories.
BUG=169420
TEST=Manually test the steps in the bug report.
Review URL: https://chromiumcodereview.appspot.com/12039005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177997 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print/DEPS')
0 files changed, 0 insertions, 0 deletions