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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2763123003: Remove a bunch of unused frameHost() methods (Closed)
Patch Set: Created 3 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: third_party/WebKit/Source/core/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index d88d52258c2f2344ed3f9baccb99b47c64675178..c20779307d2bc66bfc3dfcd33fcc9dabe319e07f 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -1564,7 +1564,7 @@ unsigned Internals::suspendableObjectCount(Document* document) {
static unsigned eventHandlerCount(
Document& document,
EventHandlerRegistry::EventHandlerClass handlerClass) {
- if (!document.frameHost())
+ if (!document.page())
return 0;
EventHandlerRegistry* registry = &document.page()->eventHandlerRegistry();
unsigned count = 0;
« no previous file with comments | « third_party/WebKit/Source/core/input/GestureManager.cpp ('k') | third_party/WebKit/Source/web/tests/RootScrollerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698