| Index: content/renderer/render_view_browsertest.cc
|
| diff --git a/content/renderer/render_view_browsertest.cc b/content/renderer/render_view_browsertest.cc
|
| index 868be6fa4836a755b62721625000590bc6a90d60..8c98001097f0fe4f63a7dd455a90d75f89ba046c 100644
|
| --- a/content/renderer/render_view_browsertest.cc
|
| +++ b/content/renderer/render_view_browsertest.cc
|
| @@ -59,7 +59,6 @@
|
| #include "third_party/WebKit/public/platform/WebURLResponse.h"
|
| #include "third_party/WebKit/public/web/WebDataSource.h"
|
| #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h"
|
| -#include "third_party/WebKit/public/web/WebHeap.h"
|
| #include "third_party/WebKit/public/web/WebHistoryCommitType.h"
|
| #include "third_party/WebKit/public/web/WebHistoryItem.h"
|
| #include "third_party/WebKit/public/web/WebLocalFrame.h"
|
| @@ -88,7 +87,6 @@
|
| #include "url/url_constants.h"
|
|
|
| using blink::WebFrame;
|
| -using blink::WebHeap;
|
| using blink::WebInputEvent;
|
| using blink::WebLocalFrame;
|
| using blink::WebMouseEvent;
|
| @@ -173,13 +171,6 @@
|
| RenderViewTest::SetUp();
|
| }
|
|
|
| - // To avoid flaky leak reports, insist on GCing
|
| - // Blink upon shutdown to clear out garbage.
|
| - void TearDown() override {
|
| - WebHeap::collectGarbageForTesting();
|
| - RenderViewTest::TearDown();
|
| - }
|
| -
|
| RenderViewImpl* view() {
|
| return static_cast<RenderViewImpl*>(view_);
|
| }
|
| @@ -510,6 +501,7 @@
|
| EXPECT_TRUE(render_thread_->sink().GetUniqueMessageMatching(
|
| ViewHostMsg_UpdateState::ID));
|
| }
|
| + ProcessPendingMessages();
|
| }
|
|
|
| TEST_F(RenderViewImplTest, OnNavigationHttpPost) {
|
|
|