Bug 140971

Summary: Use a Ref<CachedResourceLoader> in Document instead of a RefPtr
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Page LoadingAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, commit-queue, kling, koivisto
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Chris Dumez 2015-01-27 17:31:42 PST
Use a Ref<CachedResourceLoader> in Document instead of a RefPtr and it can never be null. This gets rid of a lot of unnecessary null checks.
Comment 1 Chris Dumez 2015-01-27 18:35:22 PST
Created attachment 245501 [details]
Patch
Comment 2 Andreas Kling 2015-01-27 21:09:02 PST
Comment on attachment 245501 [details]
Patch

r=me
This is some tasty stuff!
Comment 3 WebKit Commit Bot 2015-01-27 21:55:10 PST
Comment on attachment 245501 [details]
Patch

Clearing flags on attachment: 245501

Committed r179242: <http://trac.webkit.org/changeset/179242>
Comment 4 WebKit Commit Bot 2015-01-27 21:55:13 PST
All reviewed patches have been landed.  Closing bug.