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

Unified Diff: ui/android/resources/resource_manager_impl_unittest.cc

Issue 2174653002: cc: Break up with FakeLayerTreeHostClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fakeoutputsurface
Patch Set: lthclient-tests: . Created 4 years, 5 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
« no previous file with comments | « ui/android/DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/resources/resource_manager_impl_unittest.cc
diff --git a/ui/android/resources/resource_manager_impl_unittest.cc b/ui/android/resources/resource_manager_impl_unittest.cc
index c8780ea17eb49e54a077f107646f92c06fb297fe..e3b6974e4a9abe8adb2d14fe14d45b23d23c7907 100644
--- a/ui/android/resources/resource_manager_impl_unittest.cc
+++ b/ui/android/resources/resource_manager_impl_unittest.cc
@@ -7,7 +7,7 @@
#include "base/macros.h"
#include "cc/animation/animation_host.h"
#include "cc/resources/ui_resource_bitmap.h"
-#include "cc/test/fake_layer_tree_host_client.h"
+#include "cc/test/stub_layer_tree_host_client.h"
#include "cc/test/test_task_graph_runner.h"
#include "cc/trees/layer_tree_host.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -93,7 +93,7 @@ class ResourceManagerTest : public testing::Test {
resource_manager_(window_android_) {
cc::LayerTreeHost::InitParams params;
cc::LayerTreeSettings settings;
- params.client = &fake_client_;
+ params.client = &stub_client_;
params.settings = &settings;
params.task_graph_runner = &task_graph_runner_;
params.animation_host =
@@ -126,7 +126,7 @@ class ResourceManagerTest : public testing::Test {
std::unique_ptr<MockLayerTreeHost> host_;
TestResourceManagerImpl resource_manager_;
cc::TestTaskGraphRunner task_graph_runner_;
- cc::FakeLayerTreeHostClient fake_client_;
+ cc::StubLayerTreeHostClient stub_client_;
};
TEST_F(ResourceManagerTest, GetResource) {
« no previous file with comments | « ui/android/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698