[Webkit-unassigned] [Bug 93368] [CSSRegions]Expose WebKitNamedFlowCollection interface through document.namedFlows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 12 22:07:53 PDT 2012


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





--- Comment #2 from Gyuyoung Kim <gyuyoung.kim at samsung.com>  2012-08-12 22:08:20 PST ---
(From update of attachment 156943)
View in context: https://bugs.webkit.org/attachment.cgi?id=156943&action=review

> Source/WebCore/dom/WebKitNamedFlowCollection.cpp:93
> +        return 0;

In my humble opinion, early return is more close WebKit style.

 if (!m_document)
     return 0;

 m_document->updateLayoutIgnorePendingStylesheets();

In addition, it seems it is good to add an empty line.

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