Bug 61907

Summary: Remove superfluous renderer() test
Product: WebKit Reporter: Roland Steiner <rolandsteiner>
Component: CSSAssignee: Roland Steiner <rolandsteiner>
Status: RESOLVED FIXED    
Severity: Trivial    
Priority: P4    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch tkent: review+

Description Roland Steiner 2011-06-01 23:13:04 PDT
Document::recalcStyle() at one point verifies that a renderer is present or bails out ('goto bail_out').

The code after that still contains a redundant check "if (renderer() && ..." that can be removed.
Comment 1 Roland Steiner 2011-06-01 23:16:43 PDT
Created attachment 95727 [details]
Patch
Comment 2 Kent Tamura 2011-06-01 23:23:40 PDT
Comment on attachment 95727 [details]
Patch

ok
Comment 3 Roland Steiner 2011-06-01 23:30:41 PDT
Committed r87879: <http://trac.webkit.org/changeset/87879>