Descriptionozone/platform/wayland: Drop WaylandWindow::GetWidget()
It was only used in tests and WaylandDisplay::{Add,Remove}Window, and
WaylandWindow can just provide the widget as an argument.
This way we can drop WaylandWindowInitializeTest, and just use the widget from
OnAcceleratedWidgetAvailable in all tests. This more closely matches reality.
Also, inline and rename GetSurface() -> surface() because it is a simple
accessor.
BUG=578890
Committed: https://crrev.com/dbdd487f447892b2b3b06e366e72553c21bdb2cb
Cr-Commit-Position: refs/heads/master@{#378733}
Patch Set 1 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 8 (3 generated)
|