| Index: content/public/test/render_view_test.h
|
| diff --git a/content/public/test/render_view_test.h b/content/public/test/render_view_test.h
|
| index 5161a3274ce953ea89e4de1cadba2af90ddff04a..5ae89cfff3f3e97c501faf464be268cb2965237e 100644
|
| --- a/content/public/test/render_view_test.h
|
| +++ b/content/public/test/render_view_test.h
|
| @@ -18,6 +18,7 @@
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "third_party/WebKit/public/platform/Platform.h"
|
| #include "third_party/WebKit/public/web/WebFrame.h"
|
| +#include "third_party/WebKit/public/web/WebLeakDetector.h"
|
|
|
| struct ViewMsg_Resize_Params;
|
|
|
| @@ -45,7 +46,7 @@ class RendererMainPlatformDelegate;
|
| class RendererBlinkPlatformImplNoSandboxImpl;
|
| class RenderView;
|
|
|
| -class RenderViewTest : public testing::Test {
|
| +class RenderViewTest : public testing::Test, blink::WebLeakDetectorClient {
|
| public:
|
| // A special BlinkPlatformImpl class for getting rid off the dependency to the
|
| // sandbox, which is not available in RenderViewTest.
|
| @@ -172,6 +173,9 @@ class RenderViewTest : public testing::Test {
|
|
|
| void TearDown() override;
|
|
|
| + // blink::WebLeakDetectorClient implementation.
|
| + void onLeakDetectionComplete(const Result& result) override;
|
| +
|
| base::MessageLoop msg_loop_;
|
| scoped_ptr<FakeCompositorDependencies> compositor_deps_;
|
| scoped_ptr<MockRenderProcess> mock_process_;
|
|
|