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

Unified Diff: components/exo/wayland/scoped_wl_types.cc

Issue 1412093006: components: Add Exosphere component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove some ifdefs Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/exo/wayland/scoped_wl_types.h ('k') | components/exo/wayland/server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/wayland/scoped_wl_types.cc
diff --git a/components/exo/wayland/scoped_wl_types.cc b/components/exo/wayland/scoped_wl_types.cc
new file mode 100644
index 0000000000000000000000000000000000000000..7050cee063e493c6f99d4f5968d5b871b59243a2
--- /dev/null
+++ b/components/exo/wayland/scoped_wl_types.cc
@@ -0,0 +1,20 @@
+// 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_types.h"
+
+#include <wayland-server-core.h>
+
+namespace exo {
+namespace wayland {
+namespace internal {
+
+// static
+void ScopedWLDisplayTraits::Free(wl_display* display) {
+ wl_display_destroy(display);
+}
+
+} // namespace internal
+} // namespace wayland
+} // namespace exo
« no previous file with comments | « components/exo/wayland/scoped_wl_types.h ('k') | components/exo/wayland/server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698