Index: cc/surfaces/surface.cc |
diff --git a/cc/surfaces/surface.cc b/cc/surfaces/surface.cc |
index 600455f12618fb3d841d7bcf69984bfbf4470c90..c7b11457d6076e814fb4239c01fcc16e13049d64 100644 |
--- a/cc/surfaces/surface.cc |
+++ b/cc/surfaces/surface.cc |
@@ -18,9 +18,8 @@ namespace cc { |
// completely damaged the first time they're drawn from. |
static const int kFrameIndexStart = 2; |
-Surface::Surface(SurfaceId id, const gfx::Size& size, SurfaceFactory* factory) |
+Surface::Surface(SurfaceId id, SurfaceFactory* factory) |
: surface_id_(id), |
- size_(size), |
factory_(factory->AsWeakPtr()), |
frame_index_(kFrameIndexStart) { |
} |