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

Unified Diff: third_party/WebKit/public/web/WebLeakDetector.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
« no previous file with comments | « third_party/WebKit/Source/web/WebLeakDetector.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebLeakDetector.h
diff --git a/third_party/WebKit/public/web/WebLeakDetector.h b/third_party/WebKit/public/web/WebLeakDetector.h
index f3ae863b3126b49aceba9cd7cde056bacd1af149..10c6a2cd8858fcb2c41a028bb7519eee0baacacb 100644
--- a/third_party/WebKit/public/web/WebLeakDetector.h
+++ b/third_party/WebKit/public/web/WebLeakDetector.h
@@ -31,11 +31,12 @@
#ifndef WebLeakDetector_h
#define WebLeakDetector_h
-#include "WebFrame.h"
#include "public/platform/WebCommon.h"
namespace blink {
+class WebFrame;
+
class WebLeakDetectorClient {
public:
struct Result {
@@ -79,7 +80,7 @@ public:
// Perform initial stage of preparing for leak detection,
// releasing references to resources held globally.
- virtual void prepareForLeakDetection() = 0;
+ virtual void prepareForLeakDetection(WebFrame*) = 0;
// Garbage collect Blink's heaps and report leak counts.
// |WebLeakDetectorClient::onLeakDetectionComplete()| is called
« no previous file with comments | « third_party/WebKit/Source/web/WebLeakDetector.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698