1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "ui/ozone/platform/caca/scoped_caca_types.h"
6
7#include <caca.h>
8
9namespace ui {
10
11void CacaCanvasDeleter::operator()(caca_canvas_t* canvas) const {
12  caca_free_canvas(canvas);
13}
14
15void CacaDisplayDeleter::operator()(caca_display_t* display) const {
16  caca_free_display(display);
17}
18
19void CacaDitherDeleter::operator()(caca_dither_t* dither) const {
20  caca_free_dither(dither);
21}
22
23}  // namespace ui
24