Chromium Code Reviews| Index: src/common/util.cc |
| diff --git a/src/common/util.cc b/src/common/util.cc |
| deleted file mode 100644 |
| index b77200945a27a8a48ad7e425227f4e813ee18111..0000000000000000000000000000000000000000 |
| --- a/src/common/util.cc |
| +++ /dev/null |
| @@ -1,12 +0,0 @@ |
| -// Copyright (c) 2009 The Chromium OS 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 <cstdlib> |
| -#include <cstring> |
| - |
| -char* NewStringCopy(const char* x) { |
| - char* result = static_cast<char*>(std::malloc(std::strlen(x) + 1)); |
| - std::strcpy(result, x); // NOLINT |
| - return result; |
| -} |