| 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;
|
|
|