diff options
author | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-20 17:25:45 +0000 |
---|---|---|
committer | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-20 17:25:45 +0000 |
commit | 4e2eb35838d42017542959dbef29d84ca6d2bbc4 (patch) | |
tree | 7eabd0b457f008c43398e158cabdd616d9cf7a61 /cc/test/fake_layer_tree_host.cc | |
parent | 22e548845b1548ebad28c9d68ad075bce949ec57 (diff) | |
download | chromium_src-4e2eb35838d42017542959dbef29d84ca6d2bbc4.zip chromium_src-4e2eb35838d42017542959dbef29d84ca6d2bbc4.tar.gz chromium_src-4e2eb35838d42017542959dbef29d84ca6d2bbc4.tar.bz2 |
Switch to use SharedBitmapManager all the time in cc_unittests
This matches the behavior of the browser and renderer better, and lets us use SharedBitmaps in more tests.
Review URL: https://codereview.chromium.org/202763002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_layer_tree_host.cc')
-rw-r--r-- | cc/test/fake_layer_tree_host.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/test/fake_layer_tree_host.cc b/cc/test/fake_layer_tree_host.cc index c6d92ab..28a7a52 100644 --- a/cc/test/fake_layer_tree_host.cc +++ b/cc/test/fake_layer_tree_host.cc @@ -5,6 +5,11 @@ #include "cc/test/fake_layer_tree_host.h" namespace cc { +FakeLayerTreeHost::FakeLayerTreeHost(LayerTreeHostClient* client, + const LayerTreeSettings& settings) + : LayerTreeHost(client, NULL, settings), + host_impl_(settings, &proxy_, &manager_), + needs_commit_(false) {} scoped_ptr<FakeLayerTreeHost> FakeLayerTreeHost::Create() { static FakeLayerTreeHostClient client(FakeLayerTreeHostClient::DIRECT_3D); |