| Index: media/audio/simple_sources_unittest.cc
|
| diff --git a/media/audio/simple_sources_unittest.cc b/media/audio/simple_sources_unittest.cc
|
| index f96ffadb011a3ae7f18df863b3c666b7be18521b..661361eaa0647f69c245e83ddbb0a9838fc77441 100644
|
| --- a/media/audio/simple_sources_unittest.cc
|
| +++ b/media/audio/simple_sources_unittest.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// 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.
|
|
|
| @@ -11,9 +11,7 @@
|
| #include "media/audio/simple_sources.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| -namespace {
|
| -
|
| -void GenerateRandomData(char* buffer, uint32 len) {
|
| +static void GenerateRandomData(char* buffer, uint32 len) {
|
| static bool called = false;
|
| if (!called) {
|
| called = true;
|
| @@ -26,8 +24,6 @@ void GenerateRandomData(char* buffer, uint32 len) {
|
| buffer[i] = static_cast<char>(rand());
|
| }
|
|
|
| -} // namespace
|
| -
|
| // To test write size smaller than read size.
|
| TEST(SimpleSourcesTest, PushSourceSmallerWrite) {
|
| const uint32 kDataSize = 40960;
|
|
|