Commit ebc42b22 authored by ccameron@chromium.org's avatar ccameron@chromium.org

Revert 282672 "Revert 281692 "Mac: Enable delegated renderer by ..."

I meant to revert r281866, not this ...

> Revert 281692 "Mac: Enable delegated renderer by default"
> 
> This is causing tabs to get stuck white. Removing before today's
> Canary gets cut. The fix for the stuck white issue is being worked
> on at
> https://codereview.chromium.org/388793003/
> 
> > Mac: Enable delegated renderer by default
> > 
> > Delegated renderer disabled for layout tests (as on other platforms).
> > 
> > BUG=314190
> > TBR=piman
> > 
> > Review URL: https://codereview.chromium.org/374643002
> 
> TBR=ccameron@chromium.org
> 
> Review URL: https://codereview.chromium.org/386943008

TBR=ccameron@chromium.org

Review URL: https://codereview.chromium.org/388973002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282678 0039d316-1c4b-4281-b951-d872f2087c98
parent b91bcfad
...@@ -200,8 +200,8 @@ bool IsDelegatedRendererEnabled() { ...@@ -200,8 +200,8 @@ bool IsDelegatedRendererEnabled() {
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); const CommandLine& command_line = *CommandLine::ForCurrentProcess();
bool enabled = false; bool enabled = false;
#if defined(USE_AURA) #if defined(USE_AURA) || defined(OS_MACOSX)
// Enable on Aura. // Enable on Aura and Mac.
enabled = true; enabled = true;
#endif #endif
......
...@@ -29,7 +29,7 @@ IN_PROC_BROWSER_TEST_F(CompositorUtilTest, CompositingModeAsExpected) { ...@@ -29,7 +29,7 @@ IN_PROC_BROWSER_TEST_F(CompositorUtilTest, CompositingModeAsExpected) {
#elif defined(OS_ANDROID) #elif defined(OS_ANDROID)
expected_mode = DELEGATED; expected_mode = DELEGATED;
#elif defined(OS_MACOSX) #elif defined(OS_MACOSX)
expected_mode = THREADED; expected_mode = DELEGATED;
// Lion and SnowLeopard have compositing blacklisted when using the Apple // Lion and SnowLeopard have compositing blacklisted when using the Apple
// software renderer, so results will vary depending if this test is being // software renderer, so results will vary depending if this test is being
// run in a VM versus actual hardware. // run in a VM versus actual hardware.
......
...@@ -162,7 +162,7 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) { ...@@ -162,7 +162,7 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) {
command_line.AppendSwitch(switches::kEnableInbandTextTracks); command_line.AppendSwitch(switches::kEnableInbandTextTracks);
command_line.AppendSwitch(switches::kMuteAudio); command_line.AppendSwitch(switches::kMuteAudio);
#if defined(USE_AURA) || defined(OS_ANDROID) #if defined(USE_AURA) || defined(OS_ANDROID) || defined(OS_MACOSX)
// TODO: crbug.com/311404 Make layout tests work w/ delegated renderer. // TODO: crbug.com/311404 Make layout tests work w/ delegated renderer.
command_line.AppendSwitch(switches::kDisableDelegatedRenderer); command_line.AppendSwitch(switches::kDisableDelegatedRenderer);
command_line.AppendSwitch(cc::switches::kCompositeToMailbox); command_line.AppendSwitch(cc::switches::kCompositeToMailbox);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment