Index: content/shell/renderer/layout_test/leak_detector.cc |
diff --git a/content/shell/renderer/layout_test/leak_detector.cc b/content/shell/renderer/layout_test/leak_detector.cc |
index 6f857232374df958d11c97c846918591b59bca4c..f5cb3f75aa9c784e4e17b826bd39d3cc79cdfa14 100644 |
--- a/content/shell/renderer/layout_test/leak_detector.cc |
+++ b/content/shell/renderer/layout_test/leak_detector.cc |
@@ -59,8 +59,8 @@ LeakDetector::LeakDetector(BlinkTestRunner* test_runner) |
LeakDetector::~LeakDetector() { |
} |
-void LeakDetector::TryLeakDetection(blink::WebLocalFrame* frame) { |
- web_leak_detector_->prepareForLeakDetection(); |
+void LeakDetector::TryLeakDetection(blink::WebFrame* frame) { |
+ web_leak_detector_->prepareForLeakDetection(frame); |
web_leak_detector_->collectGarbageAndReport(); |
} |