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

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

Issue 222973003: Conversion of content_shell target to use WebLocalFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove some TODOs Created 6 years, 9 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/leak_detector.h
diff --git a/content/shell/renderer/leak_detector.h b/content/shell/renderer/leak_detector.h
index e9935c21cb3d1dbb17ad47fe6163c946a08223e7..60694f42cfcb6e4726c549257ea5ffbcdb8bf747 100644
--- a/content/shell/renderer/leak_detector.h
+++ b/content/shell/renderer/leak_detector.h
@@ -7,10 +7,8 @@
#include "base/basictypes.h"
#include "content/shell/common/leak_detection_result.h"
-
-namespace blink {
-class WebFrame;
-}
+// TODO(dcheng): Temporary. Convert back to a forward declare.
+#include "third_party/WebKit/public/web/WebLocalFrame.h"
namespace content {
@@ -24,7 +22,7 @@ class LeakDetector {
// 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.
- LeakDetectionResult TryLeakDetection(blink::WebFrame* frame);
+ LeakDetectionResult TryLeakDetection(blink::WebLocalFrame* frame);
private:
// The number of the live documents last time.

Powered by Google App Engine
This is Rietveld 408576698