summaryrefslogtreecommitdiffstats
path: root/tools/resources
diff options
context:
space:
mode:
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-03 18:13:05 +0000
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-03 18:13:05 +0000
commit5974f03d908c1d8beaa810794cde9a943a48a514 (patch)
tree30d9282387e7b82737866cb7cf82a111c30f2b1a /tools/resources
parentb8a4cd26b325d109f1b83022042a0f5aa74b4a0f (diff)
downloadchromium_src-5974f03d908c1d8beaa810794cde9a943a48a514.zip
chromium_src-5974f03d908c1d8beaa810794cde9a943a48a514.tar.gz
chromium_src-5974f03d908c1d8beaa810794cde9a943a48a514.tar.bz2
Fix omnibox assets being reported unused by find_unused_resources.py
IMAGE_GRID uses _CENTER for the center image, not _MIDDLE. BUG=284549 TEST=manual, infobar resources are no longer incorrectly reported unused TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/23905002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220980 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/resources')
-rwxr-xr-xtools/resources/find_unused_resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/resources/find_unused_resources.py b/tools/resources/find_unused_resources.py
index 87bae4b..dfd1bba 100755
--- a/tools/resources/find_unused_resources.py
+++ b/tools/resources/find_unused_resources.py
@@ -38,7 +38,7 @@ def GetBaseResourceId(resource_id):
"""
suffixes = [
'_TOP_LEFT', '_TOP', '_TOP_RIGHT',
- '_LEFT', '_MIDDLE', '_RIGHT',
+ '_LEFT', '_CENTER', '_RIGHT',
'_BOTTOM_LEFT', '_BOTTOM', '_BOTTOM_RIGHT',
'_TL', '_T', '_TR',
'_L', '_M', '_R',