Skip to content

Commit e9e049e

Browse files
ktranDevtools-frontend LUCI CQ
authored andcommitted
Revert "Correct decode file name in Workspace settings"
This reverts commit 6e47d42. Reason for revert: Blocking the roll (CL needs to be adapted) Original change's description: > Correct decode file name in Workspace settings > > Fixed: 381043531 > Change-Id: I09a6a9535bfba6b156fc894dedbaa3502b097df2 > Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6049266 > Commit-Queue: Yang Guo <[email protected]> > Reviewed-by: Kim-Anh Tran <[email protected]> > Commit-Queue: Kim-Anh Tran <[email protected]> > Auto-Submit: Yang Guo <[email protected]> Change-Id: Iee5af0a3bec281c08d14a13ae0091636e894d82f No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6055420 Commit-Queue: Kim-Anh Tran <[email protected]> Bot-Commit: Rubber Stamper <[email protected]>
1 parent 0c5f2c1 commit e9e049e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

front_end/models/persistence/WorkspaceSettingsTab.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
import * as Common from '../../core/common/common.js';
6-
import * as Host from '../../core/host/host.js';
75
import * as i18n from '../../core/i18n/i18n.js';
86
import type * as Platform from '../../core/platform/platform.js';
97
import * as Cards from '../../ui/components/cards/cards.js';
@@ -159,7 +157,7 @@ export class WorkspaceSettingsTab extends UI.Widget.VBox {
159157
}
160158

161159
private getFilename(fileSystem: PlatformFileSystem): string {
162-
const fileSystemPath = Common.ParsedURL.ParsedURL.urlToRawPathString(fileSystem.path(), Host.Platform.isWin());
160+
const fileSystemPath = fileSystem.path();
163161
const lastIndexOfSlash = fileSystemPath.lastIndexOf('/');
164162
return fileSystemPath.substr(lastIndexOfSlash + 1);
165163
}

0 commit comments

Comments
 (0)