[Webkit-unassigned] [Bug 51546] WebKit2 needs to mirror the frame tree in the UIProcess
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 23 12:00:16 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=51546
Darin Adler <darin at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #77354|review? |review+
Flag| |
--- Comment #3 from Darin Adler <darin at apple.com> 2010-12-23 12:00:16 PST ---
(From update of attachment 77354)
View in context: https://bugs.webkit.org/attachment.cgi?id=77354&action=review
> WebKit2/UIProcess/WebFrameProxy.cpp:184
> + ASSERT(child->page() == page());
Assert that child->m_parentFrame is 0?
Assert that child->m_nextSibling is 0?
Assert that child->m_previousSibling is 0?
> WebKit2/UIProcess/WebFrameProxy.cpp:193
> + oldLast->m_nextSibling = child;
Assert that oldLast->m_nextSibling was 0?
> WebKit2/UIProcess/WebFrameProxy.cpp:205
> + std::swap(newLocationForNext, child->m_nextSibling);
> + std::swap(newLocationForPrevious, child->m_previousSibling);
How about "using namespace std" at the top instead?
> WebKit2/UIProcess/WebFrameProxy.cpp:226
> +void WebFrameProxy::dumpFrameTree(unsigned indent)
It would be nicer if the name made it clear it’s a stdout-print type of dump. I like leaving this kind of function in the code as long as it’s obvious how to invoke it. If only someone had left an easy string-printing function in WTF::String!!!
> WebKit2/UIProcess/WebFrameProxy.h:136
> + void removeAllChildFrames();
You mentioned we should remove this declaration for a function that is never used or defined.
--
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