commit | 0917ec4328dc20b59887d78f76b9f075e12e5f7f | [log] [tgz] |
---|---|---|
author | dcheng <[email protected]> | Thu Nov 19 07:00:20 2015 |
committer | Commit bot <[email protected]> | Thu Nov 19 07:01:23 2015 |
tree | e2e24def30f3b6619eb1b92d570b055bfcef9672 | |
parent | d076ca806251e4b636b421eb46ca04d14366b2cc [diff] [blame] |
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}
diff --git a/ui/gfx/gdi_util.cc b/ui/gfx/gdi_util.cc index 09c4b4b..1e6b71d 100644 --- a/ui/gfx/gdi_util.cc +++ b/ui/gfx/gdi_util.cc
@@ -4,6 +4,8 @@ #include "ui/gfx/gdi_util.h" +#include <algorithm> + #include "base/logging.h" #include "base/memory/scoped_ptr.h"