Index: services/shell/runner/host/native_application_support.cc |
diff --git a/services/shell/runner/host/native_application_support.cc b/services/shell/runner/host/native_application_support.cc |
index cb213748cf9721be148479d9f52e2997e875eafc..945176ba651d8f19fa7beed85ab62627c8dd8356 100644 |
--- a/services/shell/runner/host/native_application_support.cc |
+++ b/services/shell/runner/host/native_application_support.cc |
@@ -10,7 +10,6 @@ |
#include "base/files/file_path.h" |
#include "base/files/file_util.h" |
#include "base/logging.h" |
-#include "mojo/platform_handle/platform_handle_private_thunks.h" |
#include "mojo/public/platform/native/system_thunks.h" |
namespace shell { |
@@ -82,10 +81,7 @@ bool RunNativeApplication(base::NativeLibrary app_library, |
} |
#endif |
- // Apps need not include platform handle thunks. |
- SetThunks(&MojoMakePlatformHandlePrivateThunks, |
- "MojoSetPlatformHandlePrivateThunks", app_library); |
-#endif |
+#endif // !defined(COMPONENT_BUILD) |
typedef MojoResult (*MojoMainFunction)(MojoHandle); |
MojoMainFunction main_function = reinterpret_cast<MojoMainFunction>( |