[Webkit-unassigned] [Bug 27511] Add WinCE specific platform/graphics files to WebCore
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 10 16:01:04 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27511
--- Comment #87 from George Staikos <staikos at kde.org> 2009-08-10 16:01:02 PDT ---
(In reply to comment #86)
> > > + NamedNodeMap* a = element->attributes();
> > > + if (a) {
> > > + for (unsigned i = 0; i < a->length(); ++i) {
> > > + Attribute* it = a->attributeItem(i);
> > > + paramNames.append(it->name().localName().string());
> > > + paramValues.append(it->value().string());
> > > + }
> > > + }
> >
> > I guess you should remove the braces around the if, as ugly as it becomes.
>
> If I understand you correctly, I think you're saying that you think the WebKit
> coding style requires removing these braces.
>
> That's wrong. The WebKit coding style says braces should be omitted from
> one-line bodies, and this is more than one line. Perhaps you were thinking it
> said to omit them from one-statement bodies?
>
> The braces should stay.
+1!
That's not clear from my reading but I definitely approve.
--
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