DescriptionBrowserPlugin 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.
Committed: https://crrev.com/2f5c8d6545f1c6e6e386a6f3a50059befd87e1dd
Cr-Commit-Position: refs/heads/master@{#293197}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Restored calls to .get() for refptrs #
Messages
Total messages: 19 (5 generated)
|