Commit 10463fc2 authored by timothy@apple.com's avatar timothy@apple.com

Attempt to fix the Windows and QT builds.

git-svn-id: svn://svn.chromium.org/blink/trunk@42727 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent d95109ca
...@@ -368,7 +368,7 @@ void FrameLoaderClientQt::dispatchDidFinishDocumentLoad() ...@@ -368,7 +368,7 @@ void FrameLoaderClientQt::dispatchDidFinishDocumentLoad()
printf("%s - didFinishDocumentLoadForFrame\n", qPrintable(drtDescriptionSuitableForTestResult(m_frame))); printf("%s - didFinishDocumentLoadForFrame\n", qPrintable(drtDescriptionSuitableForTestResult(m_frame)));
if (QWebPagePrivate::drtRun) { if (QWebPagePrivate::drtRun) {
int unloadEventCount = m_frame->eventHandler()->pendingFrameUnloadEventCount(); int unloadEventCount = m_frame->domWindow()->pendingFrameUnloadEventCount();
if (unloadEventCount) if (unloadEventCount)
printf("%s - has %u onunload handler(s)\n", qPrintable(drtDescriptionSuitableForTestResult(m_frame)), unloadEventCount); printf("%s - has %u onunload handler(s)\n", qPrintable(drtDescriptionSuitableForTestResult(m_frame)), unloadEventCount);
} }
......
...@@ -873,7 +873,7 @@ HRESULT STDMETHODCALLTYPE WebFrame::pendingFrameUnloadEventCount( ...@@ -873,7 +873,7 @@ HRESULT STDMETHODCALLTYPE WebFrame::pendingFrameUnloadEventCount(
if (!coreFrame) if (!coreFrame)
return E_FAIL; return E_FAIL;
*result = coreFrame->eventHandler()->pendingFrameUnloadEventCount(); *result = coreFrame->domWindow()->pendingFrameUnloadEventCount();
return S_OK; 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