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

Unified Diff: webkit/plugins/npapi/webplugin_delegate_impl_mac.mm

Issue 10837158: mac: Delete more 10.5-only code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rsesek Created 8 years, 4 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: webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm b/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
index 35d3f719a7247612c8b6126c767788a00bce66d5..123169c58fccb52988b03d99060acd2bfc7e767a 100644
--- a/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
+++ b/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
@@ -960,10 +960,8 @@ void WebPluginDelegateImpl::PluginVisibilityChanged() {
void WebPluginDelegateImpl::StartIme() {
// Currently the plugin IME implementation only works on 10.6.
Mark Mentovai 2012/08/09 16:03:43 Stale comment?
Nico 2012/08/09 17:36:41 Done.
- if (instance()->event_model() != NPEventModelCocoa ||
- base::mac::IsOSLeopardOrEarlier()) {
+ if (instance()->event_model() != NPEventModelCocoa)
return;
- }
if (ime_enabled_)
return;
ime_enabled_ = true;

Powered by Google App Engine
This is Rietveld 408576698