Index: cc/surfaces/display_unittest.cc |
diff --git a/cc/surfaces/display_unittest.cc b/cc/surfaces/display_unittest.cc |
index b17a63a03effb11b1ab63772c5372042c5594f19..a3cc6295f9aa21a92e00824f5792a66adbc0a90d 100644 |
--- a/cc/surfaces/display_unittest.cc |
+++ b/cc/surfaces/display_unittest.cc |
@@ -96,11 +96,9 @@ class TestDisplayScheduler : public DisplayScheduler { |
class DisplayTest : public testing::Test { |
public: |
DisplayTest() |
- : factory_(&manager_, &surface_factory_client_), |
+ : factory_(kArbitraryClientId, &manager_, &surface_factory_client_), |
id_allocator_(kArbitraryClientId), |
- task_runner_(new base::NullTaskRunner) { |
- id_allocator_.RegisterSurfaceClientId(&manager_); |
- } |
+ task_runner_(new base::NullTaskRunner) {} |
void SetUpDisplay(const RendererSettings& settings, |
std::unique_ptr<TestWebGraphicsContext3D> context) { |