File tree Expand file tree Collapse file tree
Source/WebKit/Shared/glib Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232
3333namespace WebKit {
3434
35- #if ENABLE(DEVELOPER_MODE)
3635static String getExecutablePath ()
3736{
3837 CString executablePath = FileSystem::currentExecutablePath ();
3938 if (!executablePath.isNull ())
4039 return FileSystem::parentPath (FileSystem::stringFromFileSystemRepresentation (executablePath.data ()));
4140 return { };
4241}
43- #endif
4442
4543static String findWebKitProcess (const char * processName)
4644{
47- #if ENABLE(DEVELOPER_MODE)
4845 static const char * execDirectory = g_getenv (" WEBKIT_EXEC_PATH" );
4946 if (execDirectory) {
5047 String processPath = FileSystem::pathByAppendingComponent (FileSystem::stringFromFileSystemRepresentation (execDirectory), StringView::fromLatin1 (processName));
@@ -58,7 +55,6 @@ static String findWebKitProcess(const char* processName)
5855 if (FileSystem::fileExists (processPath))
5956 return processPath;
6057 }
61- #endif
6258
6359 return FileSystem::pathByAppendingComponent (FileSystem::stringFromFileSystemRepresentation (PKGLIBEXECDIR), StringView::fromLatin1 (processName));
6460}
You can’t perform that action at this time.
0 commit comments