summaryrefslogtreecommitdiffstats
path: root/remoting/base
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2015-11-18 23:00:20 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-19 07:01:23 +0000
commit0917ec4328dc20b59887d78f76b9f075e12e5f7f (patch)
treee2e24def30f3b6619eb1b92d570b055bfcef9672 /remoting/base
parentd076ca806251e4b636b421eb46ca04d14366b2cc (diff)
downloadchromium_src-0917ec4328dc20b59887d78f76b9f075e12e5f7f.zip
chromium_src-0917ec4328dc20b59887d78f76b9f075e12e5f7f.tar.gz
chromium_src-0917ec4328dc20b59887d78f76b9f075e12e5f7f.tar.bz2
Use std::default_delete as the default deleter for scoped_ptr.
The aim is to make scoped_ptr and std::unique_ptr functionally identical so scoped_ptr can simply be a typedef. BUG=554298 Review URL: https://codereview.chromium.org/1445003002 Cr-Commit-Position: refs/heads/master@{#360539}
Diffstat (limited to 'remoting/base')
-rw-r--r--remoting/base/compound_buffer.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/base/compound_buffer.cc b/remoting/base/compound_buffer.cc
index 3c599d3..c18592b 100644
--- a/remoting/base/compound_buffer.cc
+++ b/remoting/base/compound_buffer.cc
@@ -2,11 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "remoting/base/compound_buffer.h"
+
+#include <algorithm>
#include <functional>
#include "base/logging.h"
#include "net/base/io_buffer.h"
-#include "remoting/base/compound_buffer.h"
namespace remoting {