Chromium Code Reviews| Index: media/base/android/stream_texture_wrapper.cc |
| diff --git a/tools/clang/plugins/tests/system/vector b/media/base/android/stream_texture_wrapper.cc |
| similarity index 51% |
| copy from tools/clang/plugins/tests/system/vector |
| copy to media/base/android/stream_texture_wrapper.cc |
| index e786000cd6da4dd0021f7c0e15bd77ca44b74549..2e5bce7c90a799cdd3587e72b689b2a66f615555 100644 |
| --- a/tools/clang/plugins/tests/system/vector |
| +++ b/media/base/android/stream_texture_wrapper.cc |
| @@ -2,15 +2,11 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef TOOLS_CLANG_PLUGINS_TESTS_SYSTEM_VECTOR_ |
|
tguilbert
2016/07/21 22:03:37
I am not sure how this showed up in this CL...
|
| -#define TOOLS_CLANG_PLUGINS_TESTS_SYSTEM_VECTOR_ |
| +#include "media/base/android/stream_texture_wrapper.h" |
| namespace std { |
| - |
| -template<typename T> |
| -class vector { |
| -}; |
| - |
| +void default_delete<media::StreamTextureWrapper>::operator()( |
| + media::StreamTextureWrapper* stw) const { |
| + stw->Destroy(); |
| +} |
| } // namespace std |
| - |
| -#endif // TOOLS_CLANG_PLUGINS_TESTS_SYSTEM_VECTOR_ |