summaryrefslogtreecommitdiff
path: root/chromium/components/exo/wayland/scoped_wl.cc
blob: 15a190f937eef0d091d112400614d67318c30927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/exo/wayland/scoped_wl.h"

#include <wayland-server-core.h>

namespace exo {
namespace wayland {

void WlDisplayDeleter::operator()(wl_display* display) const {
  wl_display_destroy(display);
}

}  // namespace wayland
}  // namespace exo