Index: cc/test/pixel_test_output_surface.h |
diff --git a/cc/test/pixel_test_output_surface.h b/cc/test/pixel_test_output_surface.h |
index 3b3f3f967fedc2dc5a7d322dd22b4d996b506215..25f9c18c0551dc9a31b928db6b9cf8b54855d00c 100644 |
--- a/cc/test/pixel_test_output_surface.h |
+++ b/cc/test/pixel_test_output_surface.h |
@@ -5,6 +5,7 @@ |
#ifndef CC_TEST_PIXEL_TEST_OUTPUT_SURFACE_H_ |
#define CC_TEST_PIXEL_TEST_OUTPUT_SURFACE_H_ |
+#include "base/memory/weak_ptr.h" |
#include "cc/output/output_surface.h" |
namespace cc { |
@@ -43,8 +44,11 @@ class PixelTestOutputSurface : public OutputSurface { |
} |
private: |
+ void SwapBuffersCallback(); |
+ |
gfx::Size surface_expansion_size_; |
- bool external_stencil_test_; |
+ bool external_stencil_test_ = false; |
+ base::WeakPtrFactory<PixelTestOutputSurface> weak_ptr_factory_; |
}; |
} // namespace cc |