Bug 122841 - Skip unnecessary null check in RenderText::textLength().
Summary: Skip unnecessary null check in RenderText::textLength().
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-15 09:35 PDT by Andreas Kling
Modified: 2013-10-15 11:16 PDT (History)
4 users (show)

See Also:


Attachments
Patch (2.75 KB, patch)
2013-10-15 09:36 PDT, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 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.
Comment 1 Andreas Kling 2013-10-15 09:36:31 PDT
Created attachment 214273 [details]
Patch
Comment 2 WebKit Commit Bot 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>
Comment 3 WebKit Commit Bot 2013-10-15 11:16:22 PDT
All reviewed patches have been landed.  Closing bug.