BrowserPlugin Cleanup: Simplify update device scale factor
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}
Showing
Please register or sign in to comment