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

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: mark 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
« no previous file with comments | « webkit/plugins/npapi/plugin_list_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..797d96be5504f5bbc8549af7ba4e6d5fcf13a5d7 100644
--- a/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
+++ b/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
@@ -959,11 +959,8 @@ void WebPluginDelegateImpl::PluginVisibilityChanged() {
}
void WebPluginDelegateImpl::StartIme() {
- // Currently the plugin IME implementation only works on 10.6.
- if (instance()->event_model() != NPEventModelCocoa ||
- base::mac::IsOSLeopardOrEarlier()) {
+ if (instance()->event_model() != NPEventModelCocoa)
return;
- }
if (ime_enabled_)
return;
ime_enabled_ = true;
« no previous file with comments | « webkit/plugins/npapi/plugin_list_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698