Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(582)

Side by Side Diff: ui/ozone/platform/caca/scoped_caca_types.cc

Issue 2445323002: Ozone: Remove the caca platform from the tree (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/ozone/platform/caca/scoped_caca_types.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
9 namespace ui {
10
11 void CacaCanvasDeleter::operator()(caca_canvas_t* canvas) const {
12 caca_free_canvas(canvas);
13 }
14
15 void CacaDisplayDeleter::operator()(caca_display_t* display) const {
16 caca_free_display(display);
17 }
18
19 void CacaDitherDeleter::operator()(caca_dither_t* dither) const {
20 caca_free_dither(dither);
21 }
22
23 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/platform/caca/scoped_caca_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698