Fix closure compiler error in volume_manager.js.
commit1dc69a362e8540b4fd96913b35865285c20704a7
authorDaichi Hirono <hirono@chromium.org>
Mon, 23 Mar 2015 03:41:40 +0000 (23 12:41 +0900)
committerDaichi Hirono <hirono@chromium.org>
Mon, 23 Mar 2015 03:43:22 +0000 (23 03:43 +0000)
tree5ec5fa63df9db387d1a6870ed232adb1f8f2affe
parent1c8cd73a1a0abe434555d418c7cbd1448a1cc803
Fix closure compiler error in volume_manager.js.

isMediaDirectory can take FakeEntry, but importer.splitPath_ passed the argument
from isMediaDirectory cannot.  We have a guard at the previous line to prevent
calling importer.splitPath_ with FakeEntry, so we can assume the argument is
alwyas Entry.

BUG=None
TEST=None
TBR=kenobi@chromium.org

Review URL: https://codereview.chromium.org/1028503008

Cr-Commit-Position: refs/heads/master@{#321730}
ui/file_manager/file_manager/common/js/importer_common.js