summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 22:43:50 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 22:43:50 +0000
commit25098925d8712b49e4624fb34b41bf660731302a (patch)
tree239b9aedb38bfd1bc661e507cadb4a424978bf4e /tools
parentdc9e01a89bc3bf632db38b280834f76d1476c91b (diff)
downloadchromium_src-25098925d8712b49e4624fb34b41bf660731302a.zip
chromium_src-25098925d8712b49e4624fb34b41bf660731302a.tar.gz
chromium_src-25098925d8712b49e4624fb34b41bf660731302a.tar.bz2
Rename chrome://theme/resource to chrome://theme/IDR_RESOURCE
BUG=47881 TEST=Unit tests Review URL: http://codereview.chromium.org/2805050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51444 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/grit/grit/format/resource_map.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/grit/grit/format/resource_map.py b/tools/grit/grit/format/resource_map.py
index 84a31b1..5ae135b 100644
--- a/tools/grit/grit/format/resource_map.py
+++ b/tools/grit/grit/format/resource_map.py
@@ -1,5 +1,5 @@
#!/usr/bin/python2.4
-# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Copyright (c) 2010 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -110,10 +110,7 @@ class SourceInclude(interface.ItemFormatter):
def Format(self, item, lang='en', begin_item=True, output_dir='.'):
if not begin_item:
return ''
- short_name = item.attrs['name'].lower()
- if short_name.startswith('idr_'):
- short_name = short_name[4:]
- return ' {"%s", %s},\n' % (short_name, item.attrs['name'])
+ return ' {"%s", %s},\n' % (item.attrs['name'], item.attrs['name'])
class SourceFileInclude(interface.ItemFormatter):