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

Unified Diff: cc/surfaces/surfaces_pixeltest.cc

Issue 2383373002: Reduce SurfaceIdAllocator usage and tie SurfaceFactory to a single FrameSinkId (Closed)
Patch Set: Fix TestRenderViewHost + Mac Created 4 years, 2 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 5409f1b20255f5f28f2e9dc85730504455d3d271..178b8e587cf4270fa48118ea12e6420b98b46fd3 100644
--- a/cc/surfaces/surfaces_pixeltest.cc
+++ b/cc/surfaces/surfaces_pixeltest.cc
@@ -32,7 +32,8 @@ class EmptySurfaceFactoryClient : public SurfaceFactoryClient {
class SurfacesPixelTest : public RendererPixelTest<GLRenderer> {
public:
SurfacesPixelTest()
- : allocator_(kArbitraryFrameSinkId), factory_(&manager_, &client_) {}
+ : allocator_(kArbitraryFrameSinkId),
+ factory_(kArbitraryFrameSinkId, &manager_, &client_) {}
protected:
SurfaceManager manager_;

Powered by Google App Engine
This is Rietveld 408576698