Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9649)

Unified Diff: chrome_frame/chrome_active_document.cc

Issue 2253001: Revert 48186, 48196, 48198 (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/util/l10n_string_util.cc ('k') | chrome_frame/chrome_frame_activex.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/chrome_active_document.cc
diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc
index 894564aaa9ab65249e4be3d9111f7d4f9896cfc2..3dab10635b917c9ac536408af29702ec8cd273dc 100644
--- a/chrome_frame/chrome_active_document.cc
+++ b/chrome_frame/chrome_active_document.cc
@@ -873,11 +873,11 @@ bool ChromeActiveDocument::HandleContextMenuCommand(UINT cmd,
ScopedComPtr<IWebBrowser2> web_browser2;
DoQueryService(SID_SWebBrowserApp, m_spClientSite, web_browser2.Receive());
- if (cmd == static_cast<UINT>(context_menu_IDC_BACK)) {
+ if (cmd == context_menu_IDC_BACK) {
web_browser2->GoBack();
- } else if (cmd == static_cast<UINT>(context_menu_IDC_FORWARD)) {
+ } else if (cmd == context_menu_IDC_FORWARD) {
web_browser2->GoForward();
- } else if (cmd == static_cast<UINT>(context_menu_IDC_RELOAD)) {
+ } else if (cmd == context_menu_IDC_RELOAD) {
web_browser2->Refresh();
} else {
return BaseActiveX::HandleContextMenuCommand(cmd, params);
« no previous file with comments | « chrome/installer/util/l10n_string_util.cc ('k') | chrome_frame/chrome_frame_activex.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698