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 b11e7b37cb88c1b4dc2ca0d54089e8ccdfa6552a..6f1bc35df42a548dda3e7432874a72321bdf100c 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 { |
@@ -40,7 +41,10 @@ class PixelTestOutputSurface : public OutputSurface { |
} |
private: |
- bool external_stencil_test_; |
+ void SwapBuffersCallback(); |
+ |
+ bool external_stencil_test_ = false; |
+ base::WeakPtrFactory<PixelTestOutputSurface> weak_ptr_factory_; |
}; |
} // namespace cc |