| Index: cc/surfaces/surfaces_pixeltest.cc
|
| diff --git a/cc/surfaces/surfaces_pixeltest.cc b/cc/surfaces/surfaces_pixeltest.cc
|
| index ae2c9ba4fab6c5fdd46034b12df9ef372bdb0b44..a52964cca627c040e4965a0288da2b79fc365e7a 100644
|
| --- a/cc/surfaces/surfaces_pixeltest.cc
|
| +++ b/cc/surfaces/surfaces_pixeltest.cc
|
| @@ -21,6 +21,8 @@
|
| namespace cc {
|
| namespace {
|
|
|
| +static constexpr uint32_t kArbitraryClientId = 1u;
|
| +
|
| class EmptySurfaceFactoryClient : public SurfaceFactoryClient {
|
| public:
|
| void ReturnResources(const ReturnedResourceArray& resources) override {}
|
| @@ -29,7 +31,8 @@ class EmptySurfaceFactoryClient : public SurfaceFactoryClient {
|
|
|
| class SurfacesPixelTest : public RendererPixelTest<GLRenderer> {
|
| public:
|
| - SurfacesPixelTest() : allocator_(1u), factory_(&manager_, &client_) {}
|
| + SurfacesPixelTest()
|
| + : allocator_(kArbitraryClientId), factory_(&manager_, &client_) {}
|
|
|
| protected:
|
| SurfaceManager manager_;
|
|
|