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

Unified Diff: chrome/browser/renderer_context_menu/spelling_menu_observer.cc

Issue 892953002: Show icons for custom menuitems in contextmenu. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
Index: chrome/browser/renderer_context_menu/spelling_menu_observer.cc
diff --git a/chrome/browser/renderer_context_menu/spelling_menu_observer.cc b/chrome/browser/renderer_context_menu/spelling_menu_observer.cc
index 80dc0973dc4bacdc78a11a0845cf0029189c0325..86bf271867eebc6c08010377fa1c092cbfe16b42 100644
--- a/chrome/browser/renderer_context_menu/spelling_menu_observer.cc
+++ b/chrome/browser/renderer_context_menu/spelling_menu_observer.cc
@@ -380,7 +380,7 @@ void SpellingMenuObserver::OnTextCheckComplete(
// Update the menu item with the result text. We disable this item and hide
// it when the spelling service does not provide valid suggestions.
proxy_->UpdateMenuItem(IDC_CONTENT_CONTEXT_SPELLING_SUGGESTION, succeeded_,
- false, result_);
+ false, result_, NULL);
}
}
@@ -393,5 +393,5 @@ void SpellingMenuObserver::OnAnimationTimerExpired() {
// Update the menu item with the text. We disable this item to prevent users
// from selecting it.
proxy_->UpdateMenuItem(IDC_CONTENT_CONTEXT_SPELLING_SUGGESTION, false, false,
- loading_message);
+ loading_message, NULL);
}

Powered by Google App Engine
This is Rietveld 408576698