From 4380d78834e4fc4c5a309e11bce11e10385c3556 Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Mon, 30 Mar 2009 18:58:39 +0000 Subject: 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 --- webkit/tools/test_shell/test_shell_gtk.cc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'webkit/tools/test_shell') 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(); } -- cgit v1.1