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

Unified Diff: cc/surfaces/surfaces_pixeltest.cc

Issue 2136413002: Update Surface ID Terminology (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed webkit_unit_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
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_;

Powered by Google App Engine
This is Rietveld 408576698