• fsamuel's avatar
    BrowserPlugin Cleanup: Simplify update device scale factor · 2f5c8d65
    fsamuel authored
    This CL removes the passed parameter of device_scale_factor and in BrowserPlugin::UpdateDeviceScaleFactor since it's not used.
    
    This CL also removes GetSizeParams because it's only used once.
    
    Repaints are now set whenever the device scale factor changes.
    
    Also remove all calls to .get() on scoped_ptrs which are unnecessary.
    
    BUG=none
    TBR=creis@chromium.org for trivial render_view_impl change.
    
    Review URL: https://codereview.chromium.org/528383003
    
    Cr-Commit-Position: refs/heads/master@{#293197}
    2f5c8d65
render_view_impl.cc 154 KB