Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Unified Diff: content/shell/renderer/layout_test/leak_detector.h

Issue 1715203002: Stop async spellchecker before running the leak detector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + parameterize WebLeakDetector over WebFrames instead Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/layout_test/leak_detector.h
diff --git a/content/shell/renderer/layout_test/leak_detector.h b/content/shell/renderer/layout_test/leak_detector.h
index 185c2b313ede2dee364a7d107441177c32fa6514..08f9a318d9b350c22b4fcc949873f9971fe55b7f 100644
--- a/content/shell/renderer/layout_test/leak_detector.h
+++ b/content/shell/renderer/layout_test/leak_detector.h
@@ -6,11 +6,12 @@
#define CONTENT_SHELL_RENDERER_LAYOUT_TEST_LEAK_DETECTOR_H_
#include "base/macros.h"
+#include "base/memory/scoped_ptr.h"
#include "content/shell/common/leak_detection_result.h"
#include "third_party/WebKit/public/web/WebLeakDetector.h"
namespace blink {
-class WebLocalFrame;
+class WebFrame;
} // namespace blink
namespace content {
@@ -28,7 +29,7 @@ class LeakDetector : public blink::WebLeakDetectorClient {
// specific page, like about:blank is loaded to compare the previous
// circumstance of DOM objects. If the number of objects increses, there
// should be a leak.
- void TryLeakDetection(blink::WebLocalFrame* frame);
+ void TryLeakDetection(blink::WebFrame* frame);
// WebLeakDetectorClient:
void onLeakDetectionComplete(const Result& result) override;
« no previous file with comments | « content/shell/renderer/layout_test/blink_test_runner.cc ('k') | content/shell/renderer/layout_test/leak_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698