Revert "X11 and Ozone: Move initialization to DWTHPlatform"
This reverts commit 543a7657. Reason for revert: Findit (https://goo.gl/kROfz5) identified CL at revision 693093 as the culprit for failures in the build cycles as shown on: https://analysis.chromium.org/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyRAsSDVdmU3VzcGVjdGVkQ0wiMWNocm9taXVtLzU0M2E3NjU3MDA4ODVkMmRiMzU4NzgzOWRjZmZjNGVjOGFhZTI5ODYM Sample Failed Build: https://ci.chromium.org/buildbot/chromium.linux/fuchsia-x64-cast/51291 Sample Failed Step: compile Original change's description: > X11 and Ozone: Move initialization to DWTHPlatform > > This CL moves the initialization of the X11Window aka PlatformWindow > to the DWTHPlatform and let the WTHPlatform to own the window instead. > > Also, instead of storing of XID in open_windows_, we store > AcceleratedWidget now, which is ok as XID and AcceleratedWidget > have the same type and it has already been used around the code. > > In the follow up CLs, I will start moving all the other codes from > DWTHX11 and add extend the existing PlatformWindow interface in > order to be able stop accessing the XWindow directly from the > DWTHX11. > > Also, AdjustSize and GetRootTransform have been moved to DWTHPlatform > and declared as protected so that DWTHX11 could access them. What is > more, the ToPixelRect and ToDIPRect have been removed from DWTHX11 as > the DWTHPlatform has already had those methods. > > Bug: 990756 > Change-Id: I077773fe3154d12696dcbfb606bb3eb3122c0936 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769442 > Commit-Queue: Maksim Sisov <msisov@igalia.com> > Reviewed-by: Scott Violet <sky@chromium.org> > Reviewed-by: Thomas Anderson <thomasanderson@chromium.org> > Cr-Commit-Position: refs/heads/master@{#693093} Change-Id: I1312146ae26ae17fed7985bba81ee81ad055ae32 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 990756 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1783522 Cr-Commit-Position: refs/heads/master@{#693104}
Showing
This diff is collapsed.
Please register or sign in to comment