| Index: mojo/runner/native_application_support.cc
|
| diff --git a/mojo/runner/native_application_support.cc b/mojo/runner/native_application_support.cc
|
| index 68014882b2e1965c0f8d496c20950fcc8793247a..7e9ecf1812291ed0a8ca48bc726de51dd5569067 100644
|
| --- a/mojo/runner/native_application_support.cc
|
| +++ b/mojo/runner/native_application_support.cc
|
| @@ -47,15 +47,11 @@ bool SetThunks(Thunks (*make_thunks)(),
|
|
|
| } // namespace
|
|
|
| -base::NativeLibrary LoadNativeApplication(
|
| - const base::FilePath& app_path,
|
| - shell::NativeApplicationCleanup cleanup) {
|
| +base::NativeLibrary LoadNativeApplication(const base::FilePath& app_path) {
|
| DVLOG(2) << "Loading Mojo app in process from library: " << app_path.value();
|
|
|
| base::NativeLibraryLoadError error;
|
| base::NativeLibrary app_library = base::LoadNativeLibrary(app_path, &error);
|
| - if (cleanup == shell::NativeApplicationCleanup::DELETE)
|
| - DeleteFile(app_path, false);
|
| LOG_IF(ERROR, !app_library)
|
| << "Failed to load app library (error: " << error.ToString() << ")";
|
| return app_library;
|
|
|