Skip to content

Commit

Permalink
[linux/wayland] Fixed terminate caused by binding to wrong version.
Browse files Browse the repository at this point in the history
This is a fixup to [1] where a typo creeped in.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/3337037

Bug: 1279574
Change-Id: If8f1a308ce8d27b51a9cd4d52ad8eec2e29edf95
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3358254
Reviewed-by: Antonio Gomes <[email protected]>
Commit-Queue: Alexander Dunaev <[email protected]>
Auto-Submit: Alexander Dunaev <[email protected]>
Cr-Commit-Position: refs/heads/main@{#954286}
  • Loading branch information
alex-voodoo authored and Chromium LUCI CQ committed Dec 28, 2021
1 parent 963e249 commit a84b79d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/ozone/platform/wayland/host/wayland_drm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void WaylandDrm::Instantiate(WaylandConnection* connection,
DCHECK_EQ(interface, kInterfaceName);

if (connection->drm_ ||
!!wl::CanBind(interface, version, kMinVersion, kMinVersion)) {
!wl::CanBind(interface, version, kMinVersion, kMinVersion)) {
return;
}

Expand Down

0 comments on commit a84b79d

Please sign in to comment.