summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/webplugin_delegate_proxy.cc
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-03 22:14:47 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-03 22:14:47 +0000
commitb2f872a12a12606065eabb59e4e338b122c6b372 (patch)
treec242fe255fae10a59e163016cd7cff1e979edf50 /chrome/renderer/webplugin_delegate_proxy.cc
parent20b4f4e1d4363d094ee4edd391a8c94b1ed4ee90 (diff)
downloadchromium_src-b2f872a12a12606065eabb59e4e338b122c6b372.zip
chromium_src-b2f872a12a12606065eabb59e4e338b122c6b372.tar.gz
chromium_src-b2f872a12a12606065eabb59e4e338b122c6b372.tar.bz2
Enable Core Animation for Flash by default
Enabling this now on the Dev channel will give us better coverage to find any issues we don't know about yet BUG=38932 TEST='gpu' and 'direct' wmode Flash instances should use CA on 10.6 (renderer CPU should be very low during video playback) Review URL: http://codereview.chromium.org/1877004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46285 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/webplugin_delegate_proxy.cc')
-rw-r--r--chrome/renderer/webplugin_delegate_proxy.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
index 8a5bd25..e345148 100644
--- a/chrome/renderer/webplugin_delegate_proxy.cc
+++ b/chrome/renderer/webplugin_delegate_proxy.cc
@@ -350,11 +350,11 @@ bool WebPluginDelegateProxy::Initialize(const GURL& url,
// Older versions of Flash don't support CA (and they assume QuickDraw
// support, so we can't rely on negotiation to do the right thing).
force_opaque_mode = true;
- } else if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableFlashCoreAnimation)) {
- // Temporary switch for testing; once we are confident that there are no
- // regressions from CoreGraphics mode to CoreAnimation mode, this switch
- // (and the chrome_switches.h and command_line.h includes) can be removed.
+ } else if (CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableFlashCoreAnimation)) {
+ // Temporary switch for testing; once any Flash + Core Animation issues
+ // have been shaken out, this switch (and the chrome_switches.h and
+ // command_line.h includes) can be removed.
force_opaque_mode = true;
} else {
// Current betas of Flash 10.1 don't respect QuickDraw negotiation either,