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

Unified Diff: content/common/gpu/x_util.cc

Issue 989993002: x11: Use scoped_ptr<> for X11 objects where it makes sense. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 9 months 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 | « content/common/gpu/x_util.h ('k') | content/content_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/x_util.cc
diff --git a/content/common/gpu/x_util.cc b/content/common/gpu/x_util.cc
deleted file mode 100644
index df14ceed246bb9bf844be2878c988831e5dc198b..0000000000000000000000000000000000000000
--- a/content/common/gpu/x_util.cc
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) 2011 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 "content/common/gpu/x_util.h"
-
-#include <X11/Xutil.h>
-
-namespace content {
-
-void ScopedPtrXFree::operator()(void* x) const {
- ::XFree(x);
-}
-
-} // namespace content
« no previous file with comments | « content/common/gpu/x_util.h ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698