[Webkit-unassigned] [Bug 31544] Move StyleQueue over to using PatchCollection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 16 08:46:02 PST 2009


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





--- Comment #5 from Evan Martin <evan at chromium.org>  2009-11-16 08:46:00 PST ---
Not quite sure what you're asking, but if it's about add vs add_all, you can do
something like


def add(self, *patches):
  use patches like an array


foobar.add(somepatch)       # works, passes a one-length array
foobar.add(patch1, patch2)  # also works
foobar.add(*patches)        # can also pass arrays


so you'd have stuff like

+    def add_all_from_bug(self, bug_id):
+        self.add_all(self._bugs.fetch_patches_from_bug(bug_id))
instead be
def add_from_bug(self, bug_id):
  self.add(*self._bugs.fetch_patches_from_bug(bug_id))

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