Index: trunk/src/content/ppapi_plugin/ppapi_plugin_main.cc |
=================================================================== |
--- trunk/src/content/ppapi_plugin/ppapi_plugin_main.cc (revision 270950) |
+++ trunk/src/content/ppapi_plugin/ppapi_plugin_main.cc (working copy) |
@@ -2,13 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "base/base_paths.h" |
#include "base/command_line.h" |
#include "base/debug/debugger.h" |
-#include "base/files/file_path.h" |
#include "base/i18n/rtl.h" |
#include "base/message_loop/message_loop.h" |
-#include "base/path_service.h" |
#include "base/threading/platform_thread.h" |
#include "build/build_config.h" |
#include "content/child/child_process.h" |
@@ -104,9 +101,7 @@ |
#if defined(OS_CHROMEOS) |
// Specifies $HOME explicitly because some plugins rely on $HOME but |
// no other part of Chrome OS uses that. See crbug.com/335290. |
- base::FilePath homedir; |
- PathService::Get(base::DIR_HOME, &homedir); |
- setenv("HOME", homedir.value().c_str(), 1); |
+ setenv("HOME", base::GetHomeDir().value().c_str(), 1); |
#endif |
base::MessageLoop main_message_loop; |