Bug 138508 - Rename HTMLInputElement::imageLoader() to ensureImageLoader()
Summary: Rename HTMLInputElement::imageLoader() to ensureImageLoader()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-07 11:10 PST by Chris Dumez
Modified: 2014-11-07 14:14 PST (History)
4 users (show)

See Also:


Attachments
Patch (6.26 KB, patch)
2014-11-07 11:25 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2014-11-07 11:10:26 PST
Rename HTMLInputElement::imageLoader() to ensureImageLoader() and have it return a reference to make it clear that it constructs an ImageLoader if missing.
Also introduce a lightweight imageLoader() getter which just returns the imageLoader or null if missing.
Comment 1 Chris Dumez 2014-11-07 11:25:59 PST
Created attachment 241195 [details]
Patch
Comment 2 WebKit Commit Bot 2014-11-07 14:14:44 PST
Comment on attachment 241195 [details]
Patch

Clearing flags on attachment: 241195

Committed r175764: <http://trac.webkit.org/changeset/175764>
Comment 3 WebKit Commit Bot 2014-11-07 14:14:49 PST
All reviewed patches have been landed.  Closing bug.