summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extensions_ui.cc
diff options
context:
space:
mode:
authormad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-20 15:27:21 +0000
committermad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-20 15:27:21 +0000
commit9194b3fc91953bb1472d8671d2322ac5616ee0b4 (patch)
treed9d60fc09ec8dc5ad6fb65499ad5bcce1d06de0f /chrome/browser/extensions/extensions_ui.cc
parenta4dc33f2e485e586cc3fb03142c2800249fe9ced (diff)
downloadchromium_src-9194b3fc91953bb1472d8671d2322ac5616ee0b4.zip
chromium_src-9194b3fc91953bb1472d8671d2322ac5616ee0b4.tar.gz
chromium_src-9194b3fc91953bb1472d8671d2322ac5616ee0b4.tar.bz2
Minimize dependency of user scripts.
And made some minor lint fixes and code refactoring on the way, based on CR comments of previous attempt. BUG=none TEST=Make sure that the extension resources can still be properly localized and that they also load correctly when they are not localized. Review URL: http://codereview.chromium.org/267051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29512 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extensions_ui.cc')
-rw-r--r--chrome/browser/extensions/extensions_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extensions_ui.cc b/chrome/browser/extensions/extensions_ui.cc
index 752a47d..d85d654 100644
--- a/chrome/browser/extensions/extensions_ui.cc
+++ b/chrome/browser/extensions/extensions_ui.cc
@@ -379,7 +379,7 @@ static void CreateScriptFileDetailValue(
// TODO(cira): this information is not used on extension page yet. We
// may want to display actual resource that got loaded, not default.
list->Append(
- new StringValue(file.resource().relative_path().value()));
+ new StringValue(file.relative_path().value()));
}
script_data->Set(key, list);
}