Separate RenderWidgetScreenMetricsEmulator and SynchronizeVisualProperties
Change RenderWidgetScreenMetricsEmulator API back into RenderWidget to be specific to the properties being changed. Then it won't need to take as input the whole VisualProperties in the future. And now it doesn't need to construct a VisualProperties object. Also make turning off the emulator explicit rather than having to destroy it and having the destructor call back into the RenderWidget. We will continue to remove RenderWidget re-entrancy with the emulator in future changes. R=avi@chromium.org Bug: 1006052 Change-Id: Ie751a57117aa52205216b78190fec96777088e9c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825318 Commit-Queue: danakj <danakj@chromium.org> Reviewed-by:Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/master@{#700411}
Showing
This diff is collapsed.
Please register or sign in to comment