[Webkit-unassigned] [Bug 131093] Move removeEquivalentProperties functions to EditingStyle

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 28 07:33:23 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=131093





--- Comment #6 from Zsolt Borbely <zsborbely.u-szeged at partner.samsung.com>  2014-04-28 07:33:44 PST ---
(In reply to comment #5)
> (From update of attachment 228370 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=228370&action=review
> 
> >> Source/WebCore/editing/EditingStyle.cpp:1576
> >> +    RefPtr<EditingStyle> style = EditingStyle::create()->copy();
> >> +    style->removeEquivalentProperties(baseStyle);
> > 
> > Where's this data supposed to go?
> 
> This code doesn't make any sense.  We should be removing baseStyle properties from result here
> but the new code is a no-op because there's nothing to be removed from an empty EditingStyle.

You are right.

> > Source/WebCore/editing/EditingStyle.h:149
> > +    void removeEquivalentProperties(const StyleProperties*);
> > +    void removeEquivalentProperties(const ComputedStyleExtractor*);
> > +
> 
> These functions should be private.

If I move these functions to private I can't use them in the extractPropertiesNotIn(). 
Should I find a solution to use them as private?

-- 
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