Bug 122841

Summary: Skip unnecessary null check in RenderText::textLength().
Product: WebKit Reporter: Andreas Kling <kling>
Component: Layout and RenderingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, kondapallykalyan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Andreas Kling
Reported 2013-10-15 09:35:58 PDT
RenderText::m_text is never a null string. Some of the RenderText code already knows this. textLength() should know it too.
Attachments
Patch (2.75 KB, patch)
2013-10-15 09:36 PDT, Andreas Kling
no flags
Andreas Kling
Comment 1 2013-10-15 09:36:31 PDT
WebKit Commit Bot
Comment 2 2013-10-15 11:16:20 PDT
Comment on attachment 214273 [details] Patch Clearing flags on attachment: 214273 Committed r157456: <http://trac.webkit.org/changeset/157456>
WebKit Commit Bot
Comment 3 2013-10-15 11:16:22 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.