[Webkit-unassigned] [Bug 30244] New: Wrong Position of #endif in Document::finishedParsing()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 8 21:51:02 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=30244
Summary: Wrong Position of #endif in
Document::finishedParsing()
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: lyon.chen at torchmobile.com
In WebCore\dom\Document.cpp, the position of #endif is wrong.
if (Frame* f = frame()) {
f->loader()->finishedParsing();
#if ENABLE(INSPECTOR)
if (!page())
return;
if (InspectorController* controller = page()->inspectorController())
controller->mainResourceFiredDOMContentEvent(f->loader()->documentLoader(),
url());
}
#endif
Should be changed to:
if (Frame* f = frame()) {
f->loader()->finishedParsing();
#if ENABLE(INSPECTOR)
if (!page())
return;
if (InspectorController* controller = page()->inspectorController())
controller->mainResourceFiredDOMContentEvent(f->loader()->documentLoader(),
url());
#endif
}
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list