Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(519)

Unified Diff: cc/test/fake_layer_tree_host_impl.cc

Issue 202763002: Switch to use SharedBitmapManager all the time in cc_unittests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/test/fake_layer_tree_host_impl.cc
diff --git a/cc/test/fake_layer_tree_host_impl.cc b/cc/test/fake_layer_tree_host_impl.cc
index 8c39d2e9ce7e93bb09ed21a7b75f70565a16a84e..7361794e7b1aa707018c8fe3a0f6214f5863ada6 100644
--- a/cc/test/fake_layer_tree_host_impl.cc
+++ b/cc/test/fake_layer_tree_host_impl.cc
@@ -3,16 +3,18 @@
// found in the LICENSE file.
#include "cc/test/fake_layer_tree_host_impl.h"
+#include "cc/test/test_shared_bitmap_manager.h"
#include "cc/trees/layer_tree_impl.h"
namespace cc {
-FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(Proxy* proxy)
+FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(Proxy* proxy,
+ SharedBitmapManager* manager)
: LayerTreeHostImpl(LayerTreeSettings(),
&client_,
proxy,
&stats_instrumentation_,
- NULL,
+ manager,
0) {
// Explicitly clear all debug settings.
SetDebugState(LayerTreeDebugState());
@@ -20,12 +22,13 @@ FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(Proxy* proxy)
}
FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(const LayerTreeSettings& settings,
- Proxy* proxy)
+ Proxy* proxy,
+ SharedBitmapManager* manager)
: LayerTreeHostImpl(settings,
&client_,
proxy,
&stats_instrumentation_,
- NULL,
+ manager,
0) {
// Explicitly clear all debug settings.
SetDebugState(LayerTreeDebugState());

Powered by Google App Engine
This is Rietveld 408576698