| Index: content/renderer/render_frame_impl_browsertest.cc
|
| diff --git a/content/renderer/render_frame_impl_browsertest.cc b/content/renderer/render_frame_impl_browsertest.cc
|
| index 9c0e3b209810633f51fe4480d17d5f8fd396653b..3ca5975e4dd780ddddcff9e2b5c83c1bf9ba1859 100644
|
| --- a/content/renderer/render_frame_impl_browsertest.cc
|
| +++ b/content/renderer/render_frame_impl_browsertest.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/command_line.h"
|
| +#include "base/debug/leak_annotations.h"
|
| #include "content/common/frame_messages.h"
|
| #include "content/common/view_messages.h"
|
| #include "content/public/common/content_switches.h"
|
| @@ -61,6 +62,15 @@ class RenderFrameImplTest : public RenderViewTest {
|
| EXPECT_TRUE(frame_->is_subframe_);
|
| }
|
|
|
| + void TearDown() override {
|
| +#if defined(LEAK_SANITIZER)
|
| + // Do this before shutting down V8 in RenderViewTest::TearDown().
|
| + // http://crbug.com/328552
|
| + __lsan_do_leak_check();
|
| +#endif
|
| + RenderViewTest::TearDown();
|
| + }
|
| +
|
| // Loads the given HTML into the frame as a data: URL and blocks until
|
| // the navigation is committed.
|
| void LoadHTMLInFrame(const char* html) {
|
|
|