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

Unified Diff: webkit/plugins/npapi/plugin_host.cc

Issue 10825302: mac: Remove more 10.5-only code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tweak comments 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 | « ui/base/cocoa/underlay_opengl_hosting_window.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/plugin_host.cc
diff --git a/webkit/plugins/npapi/plugin_host.cc b/webkit/plugins/npapi/plugin_host.cc
index 61d8e1679b039d5b5b5ecf79c5c4b71ad94e5d65..9a420908ce4afeb241b87f4e0215650aaad59aec 100644
--- a/webkit/plugins/npapi/plugin_host.cc
+++ b/webkit/plugins/npapi/plugin_host.cc
@@ -838,10 +838,9 @@ NPError NPN_GetValue(NPP id, NPNVariable variable, void* value) {
break;
}
case NPNVsupportsUpdatedCocoaTextInputBool: {
- // We support the clarifications to the Cocoa IME event spec, but since
- // IME currently only works on 10.6, only answer true there.
+ // We support the clarifications to the Cocoa IME event spec.
NPBool* supports_update = reinterpret_cast<NPBool*>(value);
- *supports_update = base::mac::IsOSSnowLeopardOrLater();
+ *supports_update = true;
rv = NPERR_NO_ERROR;
break;
}
« no previous file with comments | « ui/base/cocoa/underlay_opengl_hosting_window.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698