RESOLVED FIXED Bug 59280
[Refactoring] NodeRenderParentDetector should be NodeRenderFactory
https://bugs.webkit.org/show_bug.cgi?id=59280
Summary [Refactoring] NodeRenderParentDetector should be NodeRenderFactory
Hajime Morrita
Reported 2011-04-23 12:39:52 PDT
NodeRenderParentDetector is now in Node.cpp but it should have its own cpp/h.
Attachments
Patch (7.00 KB, patch)
2011-04-23 15:35 PDT, Hajime Morrita
dglazkov: review+
Hajime Morrita
Comment 1 2011-04-23 15:18:02 PDT
The role of this class is not clear yet. So i postpone to make a separate file and do a refactoring first.
Hajime Morrita
Comment 2 2011-04-23 15:35:32 PDT
Dimitri Glazkov (Google)
Comment 3 2011-04-23 16:38:54 PDT
Comment on attachment 90861 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=90861&action=review ok with nits. > Source/WebCore/ChangeLog:5 > + [Refactoring] NodeRenderParentDetector should have its own file Need to change the title here too. > Source/WebCore/dom/Node.cpp:1614 > + return NodeRendererFactory(const_cast<Node*>(this)).parentNodeForRenderingAndStyle(); Should we just remove the const modifier on the calling method?
Hajime Morrita
Comment 4 2011-04-23 17:52:03 PDT
Note You need to log in before you can comment on or make changes to this bug.