Commit b39decca authored by timothy@apple.com's avatar timothy@apple.com

Another attempt to fix the Windows and QT builds.

git-svn-id: svn://svn.chromium.org/blink/trunk@42728 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 10463fc2
......@@ -368,7 +368,7 @@ void FrameLoaderClientQt::dispatchDidFinishDocumentLoad()
printf("%s - didFinishDocumentLoadForFrame\n", qPrintable(drtDescriptionSuitableForTestResult(m_frame)));
if (QWebPagePrivate::drtRun) {
int unloadEventCount = m_frame->domWindow()->pendingFrameUnloadEventCount();
int unloadEventCount = m_frame->domWindow()->pendingUnloadEventListeners();
if (unloadEventCount)
printf("%s - has %u onunload handler(s)\n", qPrintable(drtDescriptionSuitableForTestResult(m_frame)), unloadEventCount);
}
......
......@@ -873,7 +873,7 @@ HRESULT STDMETHODCALLTYPE WebFrame::pendingFrameUnloadEventCount(
if (!coreFrame)
return E_FAIL;
*result = coreFrame->domWindow()->pendingFrameUnloadEventCount();
*result = coreFrame->domWindow()->pendingUnloadEventListeners();
return S_OK;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment