summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 23:42:13 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 23:42:13 +0000
commit5b65ba7172c2c29c0cfb2b66bb08178ce9652d4f (patch)
tree0621be57260fb2dca1d7bfaf1c47f611224c7e92 /chrome/browser
parent9f294395bd03a34495d0c6b9ffc101ccd7c8319a (diff)
downloadchromium_src-5b65ba7172c2c29c0cfb2b66bb08178ce9652d4f.zip
chromium_src-5b65ba7172c2c29c0cfb2b66bb08178ce9652d4f.tar.gz
chromium_src-5b65ba7172c2c29c0cfb2b66bb08178ce9652d4f.tar.bz2
Add missing 'return true' to stop switch fall though.
(found by Coverity) Review URL: http://codereview.chromium.org/42370 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12035 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/tab_contents/render_view_context_menu_win.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/render_view_context_menu_win.cc b/chrome/browser/tab_contents/render_view_context_menu_win.cc
index a7f771f..0adcf72 100644
--- a/chrome/browser/tab_contents/render_view_context_menu_win.cc
+++ b/chrome/browser/tab_contents/render_view_context_menu_win.cc
@@ -111,6 +111,7 @@ bool RenderViewContextMenuWin::GetAcceleratorInfo(
case IDS_CONTENT_CONTEXT_SELECTALL:
*accel = views::Accelerator(L'A', false, true, false);
+ return true;
default:
return false;