summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_layer_tree_host_client.cc
diff options
context:
space:
mode:
authorskaslev@chromium.org <skaslev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-06 01:01:57 +0000
committerskaslev@chromium.org <skaslev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-06 01:01:57 +0000
commitbd3d1ce09646cfc1279ccf9054dc9a01ee64c5ce (patch)
treed46d6de81dfce568fa8617184a6bb8e9eb42c4b4 /cc/test/fake_layer_tree_host_client.cc
parent8be1c58da8394b427173443933f66958b6068f69 (diff)
downloadchromium_src-bd3d1ce09646cfc1279ccf9054dc9a01ee64c5ce.zip
chromium_src-bd3d1ce09646cfc1279ccf9054dc9a01ee64c5ce.tar.gz
chromium_src-bd3d1ce09646cfc1279ccf9054dc9a01ee64c5ce.tar.bz2
Changed SoftwareOutputDevice interface.
+ Some of the necessary changes to the renderer for software compositing. BUG=124671, 161008 Review URL: https://chromiumcodereview.appspot.com/12379055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186310 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_layer_tree_host_client.cc')
-rw-r--r--cc/test/fake_layer_tree_host_client.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/test/fake_layer_tree_host_client.cc b/cc/test/fake_layer_tree_host_client.cc
index 253f5fd..dbb51b6 100644
--- a/cc/test/fake_layer_tree_host_client.cc
+++ b/cc/test/fake_layer_tree_host_client.cc
@@ -21,9 +21,9 @@ scoped_ptr<OutputSurface> FakeLayerImplTreeHostClient::createOutputSurface()
{
if (m_useSoftwareRendering) {
if (m_useDelegatingRenderer)
- return FakeOutputSurface::CreateDelegatingSoftware(make_scoped_ptr(new FakeSoftwareOutputDevice).PassAs<SoftwareOutputDevice>()).PassAs<OutputSurface>();
+ return FakeOutputSurface::CreateDelegatingSoftware(make_scoped_ptr(new SoftwareOutputDevice)).PassAs<OutputSurface>();
- return FakeOutputSurface::CreateSoftware(make_scoped_ptr(new FakeSoftwareOutputDevice).PassAs<SoftwareOutputDevice>()).PassAs<OutputSurface>();
+ return FakeOutputSurface::CreateSoftware(make_scoped_ptr(new SoftwareOutputDevice)).PassAs<OutputSurface>();
}
WebKit::WebGraphicsContext3D::Attributes attrs;