summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-20 10:02:40 +0000
committeryoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-20 10:02:40 +0000
commit766c2d3467463f599950c9dc380e0ea19cb40f78 (patch)
treea3e21aca7a36c72a4b951fcee702995b4acf6ba8
parent89b9af350150ab571bae9908206df036e6cee501 (diff)
downloadchromium_src-766c2d3467463f599950c9dc380e0ea19cb40f78.zip
chromium_src-766c2d3467463f599950c9dc380e0ea19cb40f78.tar.gz
chromium_src-766c2d3467463f599950c9dc380e0ea19cb40f78.tar.bz2
Fix using undefined variable in FileManager.
Directly using 'path' is gone by r218234, but still used. BUG=218234 TEST=tested manually TBR=mtomasz@chromium.org NOTRY=True Review URL: https://codereview.chromium.org/22870019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218439 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/resources/file_manager/js/navigation_list.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/resources/file_manager/js/navigation_list.js b/chrome/browser/resources/file_manager/js/navigation_list.js
index e02e89a..cbf088a 100644
--- a/chrome/browser/resources/file_manager/js/navigation_list.js
+++ b/chrome/browser/resources/file_manager/js/navigation_list.js
@@ -98,7 +98,7 @@ NavigationModelItem.prototype.resolveDirectoryEntry_ = function() {
}.bind(this),
function(error) {
this.entry_ = null;
- console.error('Error on resolving path: ' + path);
+ console.error('Error on resolving path: ' + this.path_);
continueCallback();
}.bind(this));
}.bind(this));
@@ -109,7 +109,7 @@ NavigationModelItem.prototype.resolveDirectoryEntry_ = function() {
* @return {boolean} True if a shortcut, false if a volume root.
*/
NavigationModelItem.prototype.isShortcut = function() {
- return !PathUtil.isRootPath(this.path);
+ return !PathUtil.isRootPath(this.path_);
};
/**