summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-07 19:09:41 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-07 19:09:41 +0000
commit979466dbde52af02c5ad15fcd0528ca0d3d85b05 (patch)
tree0579174d18ba526d3fa93eb01eadd04349df907f /chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
parent57c4f7c26fd7fb640979dcaf29719eab06a638c5 (diff)
downloadchromium_src-979466dbde52af02c5ad15fcd0528ca0d3d85b05.zip
chromium_src-979466dbde52af02c5ad15fcd0528ca0d3d85b05.tar.gz
chromium_src-979466dbde52af02c5ad15fcd0528ca0d3d85b05.tar.bz2
Back out r58711. It appears to have caused video/media-related ui_tests
failures on Windows: MediaTest.VideoBearTheora MediaTest.VideoBearSilentTheora MediaTest.VideoBearWebm MediaTest.VideoBearSilentWebm UILayoutTest.MediaUILayoutTest BUG=54469 TEST=tree Review URL: http://codereview.chromium.org/3333019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc')
-rw-r--r--chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
index 9a57aa8..0c7d966 100644
--- a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
+++ b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
@@ -40,8 +40,8 @@ WebGraphicsContext3DCommandBufferImpl::
bool WebGraphicsContext3DCommandBufferImpl::initialize(
WebGraphicsContext3D::Attributes attributes,
WebKit::WebView* web_view) {
- bool compositing_enabled = !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableAcceleratedCompositing);
+ bool compositing_enabled = CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableAcceleratedCompositing);
ggl::Context* parent_context = NULL;
// If GPU compositing is enabled we need to create a GL context that shares
// resources with the compositor's context.