| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index e19d9760cc677c4d6dc3ccc709a031ca86b1d7e4..feeb046f2ea85d4c40a528da15085546cd24ec26 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -1456,11 +1456,11 @@ String Internals::dumpRefCountedInstanceCounts() const
|
|
|
| Vector<String> Internals::consoleMessageArgumentCounts(Document* document) const
|
| {
|
| - LocalFrame* frame = document->frame();
|
| - if (!frame)
|
| + FrameHost* host = document->frameHost();
|
| + if (!host)
|
| return Vector<String>();
|
|
|
| - Vector<unsigned> counts = frame->console().messageStorage()->argumentCounts();
|
| + Vector<unsigned> counts = host->consoleMessageStorage().argumentCounts();
|
| Vector<String> result(counts.size());
|
| for (size_t i = 0; i < counts.size(); i++)
|
| result[i] = String::number(counts[i]);
|
|
|