Bug 173605

Summary: Pass the argument of DrawingArea::shouldUseTiledBackingForFrameView by reference
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: FramesAssignee: Frédéric Wang (:fredw) <fred.wang>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 173644    
Attachments:
Description Flags
Patch simon.fraser: review+

Frédéric Wang (:fredw)
Reported 2017-06-20 09:55:35 PDT
This function is only called from WebChromeClient::shouldUseTiledBackingForFrameView where the frame view is already available as a reference, so we don't really need to convert it to a pointer. This will avoid to do nullchecks in the derived classes.
Attachments
Patch (6.79 KB, patch)
2017-06-20 10:05 PDT, Frédéric Wang (:fredw)
simon.fraser: review+
Frédéric Wang (:fredw)
Comment 1 2017-06-20 10:05:38 PDT
Frédéric Wang (:fredw)
Comment 2 2017-06-20 23:24:59 PDT
Note You need to log in before you can comment on or make changes to this bug.