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

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

Issue 10837158: mac: Delete more 10.5-only code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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/plugin_host.cc
diff --git a/webkit/plugins/npapi/plugin_host.cc b/webkit/plugins/npapi/plugin_host.cc
index 00258903be1e83c881d7a1aebb9483478fc4bdd0..61d8e1679b039d5b5b5ecf79c5c4b71ad94e5d65 100644
--- a/webkit/plugins/npapi/plugin_host.cc
+++ b/webkit/plugins/npapi/plugin_host.cc
@@ -58,8 +58,6 @@ static PluginInstance* FindInstance(NPP id) {
// OS supports shared accelerated surfaces via IOSurface. This is true on Snow
// Leopard and higher.
static bool SupportsCoreAnimationPlugins() {
- if (base::mac::IsOSLeopardOrEarlier())
- return false;
if (CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableCoreAnimationPlugins))
return false;

Powered by Google App Engine
This is Rietveld 408576698