Index: content/public/test/render_view_test.cc |
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc |
index c622ee8a2cba8c002bf9215fc8ccbfdd9c29681d..2f17fa8fcc94c8dbc29110fad3bf0b1101c9fbaa 100644 |
--- a/content/public/test/render_view_test.cc |
+++ b/content/public/test/render_view_test.cc |
@@ -389,7 +389,7 @@ void RenderViewTest::TearDown() { |
scoped_ptr<blink::WebLeakDetector> leak_detector = |
make_scoped_ptr(blink::WebLeakDetector::create(this)); |
- leak_detector->prepareForLeakDetection(); |
+ leak_detector->prepareForLeakDetection(view_->GetWebView()->mainFrame()); |
view_ = NULL; |
mock_process_.reset(); |