| Index: ui/ozone/platform/caca/scoped_caca_types.cc
|
| diff --git a/ui/ozone/platform/caca/scoped_caca_types.cc b/ui/ozone/platform/caca/scoped_caca_types.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..093b7c9370efb8ed8063da06c3302738792295f9
|
| --- /dev/null
|
| +++ b/ui/ozone/platform/caca/scoped_caca_types.cc
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2014 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 "ui/ozone/platform/caca/scoped_caca_types.h"
|
| +
|
| +#include <caca.h>
|
| +
|
| +namespace ui {
|
| +
|
| +void CacaCanvasDeleter::operator()(caca_canvas_t* canvas) const {
|
| + caca_free_canvas(canvas);
|
| +}
|
| +
|
| +void CacaDisplayDeleter::operator()(caca_display_t* display) const {
|
| + caca_free_display(display);
|
| +}
|
| +
|
| +void CacaDitherDeleter::operator()(caca_dither_t* dither) const {
|
| + caca_free_dither(dither);
|
| +}
|
| +
|
| +} // namespace ui
|
|
|