Index: public/web/WebLeakDetector.h |
diff --git a/public/web/WebLeakDetector.h b/public/web/WebLeakDetector.h |
index 35990afebfea99fd782b65412b46973e87ada603..652fd3b709b03a39f68f44385f212c792e77ae7c 100644 |
--- a/public/web/WebLeakDetector.h |
+++ b/public/web/WebLeakDetector.h |
@@ -31,15 +31,16 @@ |
#ifndef WebLeakDetector_h |
#define WebLeakDetector_h |
-#include "WebFrame.h" |
#include "public/platform/WebCommon.h" |
namespace blink { |
+class WebFrame; |
+ |
class WebLeakDetector { |
public: |
// Cleans up the DOM objects and counts them. This is supposed to be used for detecting DOM-object leaks. |
- BLINK_EXPORT static void collectGarbargeAndGetDOMCounts(WebLocalFrame*, unsigned* numberOfLiveDocuments, unsigned* numberOfLiveNodes); |
+ BLINK_EXPORT static void collectGarbargeAndGetDOMCounts(WebFrame*, unsigned* numberOfLiveDocuments, unsigned* numberOfLiveNodes); |
}; |
} // namespace blink |