RESOLVED FIXED 47734
Move MarkupAccumulator from markup.cpp to its own file
https://bugs.webkit.org/show_bug.cgi?id=47734
Summary Move MarkupAccumulator from markup.cpp to its own file
Adam Barth
Reported 2010-10-15 12:54:59 PDT
Move MarkupAccumulator from markup.cpp to its own file
Attachments
Patch (48.49 KB, patch)
2010-10-15 13:06 PDT, Adam Barth
no flags
Adam Barth
Comment 1 2010-10-15 13:06:57 PDT
Eric Seidel (no email)
Comment 2 2010-10-15 13:48:52 PDT
Comment on attachment 70890 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=70890&action=review If you're just moving code, rs=me. > WebCore/editing/EditingAllInOne.cpp:51 > +#include <MarkupAccumulator.cpp> Huh? Why are these all <>. That makes no sense to me. They shoudl be "". Obviously another patch.
Ryosuke Niwa
Comment 3 2010-10-15 13:49:45 PDT
View in context: https://bugs.webkit.org/attachment.cgi?id=70890&action=review Thanks for doing this! > WebCore/WebCore.xcodeproj/project.pbxproj:-21138 > - developmentRegion = English; You should revert this change. > WebCore/editing/MarkupAccumulator.cpp:2 > + * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. Maybe add Google as well since we've done considerable work cleaning the code up? > WebCore/editing/markup.h:61 > + > + // FIXME: Should this be better encapulated somewhere? > + bool elementCannotHaveEndTag(const Node*); I think you can move this into MarkupAccumulator once you make the serializeNodes a member function of MarkupAccumulator.
Adam Barth
Comment 4 2010-10-15 14:34:38 PDT
> > WebCore/editing/MarkupAccumulator.cpp:2 > > + * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. > > Maybe add Google as well since we've done considerable work cleaning the code up? I didn't change the copyright since this patch doesn't do anything that impacts the copyright on the file. Feel free to change it in a future patch.
Adam Barth
Comment 5 2010-10-15 14:35:06 PDT
Ryosuke Niwa
Comment 6 2011-02-06 22:14:39 PST
Comment on attachment 70890 [details] Patch Cleared review & cq flags so that this patch won't appear on the review queue.
Note You need to log in before you can comment on or make changes to this bug.