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

Chris Dumez
Reported 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.
Attachments
Patch (70.53 KB, patch)
2015-01-27 18:35 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-01-27 18:35:22 PST
Andreas Kling
Comment 2 2015-01-27 21:09:02 PST
Comment on attachment 245501 [details] Patch r=me This is some tasty stuff!
WebKit Commit Bot
Comment 3 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>
WebKit Commit Bot
Comment 4 2015-01-27 21:55:13 PST
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.