| Index: mojo/edk/system/platform_handle_dispatcher_unittest.cc
|
| diff --git a/mojo/edk/system/platform_handle_dispatcher_unittest.cc b/mojo/edk/system/platform_handle_dispatcher_unittest.cc
|
| index 55887a79704c97e4c6081fb7d3c6af0147fddb0f..f3426a20f3a08b1f01dcb31082c0556d6b8141c4 100644
|
| --- a/mojo/edk/system/platform_handle_dispatcher_unittest.cc
|
| +++ b/mojo/edk/system/platform_handle_dispatcher_unittest.cc
|
| @@ -8,10 +8,10 @@
|
|
|
| #include "base/files/file_path.h"
|
| #include "base/files/file_util.h"
|
| -#include "base/files/scoped_file.h"
|
| #include "base/files/scoped_temp_dir.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "mojo/edk/test/test_utils.h"
|
| +#include "mojo/edk/util/scoped_file.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace mojo {
|
| @@ -25,7 +25,7 @@ TEST(PlatformHandleDispatcherTest, Basic) {
|
| static const char kHelloWorld[] = "hello world";
|
|
|
| base::FilePath unused;
|
| - base::ScopedFILE fp(
|
| + util::ScopedFILE fp(
|
| CreateAndOpenTemporaryFileInDir(temp_dir.path(), &unused));
|
| ASSERT_TRUE(fp);
|
| EXPECT_EQ(sizeof(kHelloWorld),
|
| @@ -68,7 +68,7 @@ TEST(PlatformHandleDispatcherTest, CreateEquivalentDispatcherAndClose) {
|
| static const char kFooBar[] = "foo bar";
|
|
|
| base::FilePath unused;
|
| - base::ScopedFILE fp(
|
| + util::ScopedFILE fp(
|
| CreateAndOpenTemporaryFileInDir(temp_dir.path(), &unused));
|
| EXPECT_EQ(sizeof(kFooBar), fwrite(kFooBar, 1, sizeof(kFooBar), fp.get()));
|
|
|
|
|