summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-30 18:58:39 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-30 18:58:39 +0000
commit4380d78834e4fc4c5a309e11bce11e10385c3556 (patch)
tree60852319c1f00cb8b744b5300ceecf76eba5e08b /webkit/tools/test_shell
parent78f75e1a29357ed908b8c4173523c40456a4a238 (diff)
downloadchromium_src-4380d78834e4fc4c5a309e11bce11e10385c3556.zip
chromium_src-4380d78834e4fc4c5a309e11bce11e10385c3556.tar.gz
chromium_src-4380d78834e4fc4c5a309e11bce11e10385c3556.tar.bz2
Always fall through to NetResourceProvider, rather than NOTREACHED()ing here.
There's a subsequent LOG(ERROR) in that code, so we still crash if a resource is missing, but it means we don't need to enumerate all resources again here. Fixes chrome/fast/forms/basic-inputs.html . TBR=tony git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12792 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell')
-rw-r--r--webkit/tools/test_shell/test_shell_gtk.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/webkit/tools/test_shell/test_shell_gtk.cc b/webkit/tools/test_shell/test_shell_gtk.cc
index 14e2f62..7083d7c 100644
--- a/webkit/tools/test_shell/test_shell_gtk.cc
+++ b/webkit/tools/test_shell/test_shell_gtk.cc
@@ -666,13 +666,6 @@ std::string GetDataResource(int resource_id) {
case IDR_TEXTAREA_RESIZER:
resource_id = IDR_TEXTAREA_RESIZER_TESTSHELL;
break;
- case IDR_SEARCH_CANCEL:
- case IDR_SEARCH_CANCEL_PRESSED:
- case IDR_SEARCH_MAGNIFIER:
- case IDR_SEARCH_MAGNIFIER_RESULTS:
- break;
- default:
- NOTREACHED();
}
return TestShell::NetResourceProvider(resource_id).as_string();
}