aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/ConsoleController.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-03-28 12:41:22 +0900
committerGitHub <noreply@github.com>2021-03-28 12:41:22 +0900
commit0f561ad10b0946692913a56290816ed5022d91e3 (patch)
treee6b40d24a0770a5e39281d2f3c7145e9560b97f9 /src/background/controllers/ConsoleController.ts
parent9d77f734fc5556217ddff14af6b067dfbea92854 (diff)
parent5a7a3dbb6638fdb8d349c3c4360e6ea916ca7f7d (diff)
Merge pull request #1069 from ueokande/reciving-error-on-tab-opened
Diffstat (limited to 'src/background/controllers/ConsoleController.ts')
-rw-r--r--src/background/controllers/ConsoleController.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/background/controllers/ConsoleController.ts b/src/background/controllers/ConsoleController.ts
index 11ee09d..2a0d75f 100644
--- a/src/background/controllers/ConsoleController.ts
+++ b/src/background/controllers/ConsoleController.ts
@@ -1,11 +1,11 @@
import { injectable } from "tsyringe";
-import ConsoleUseCase from "./ConsoleUseCase";
+import ConsoleUseCase from "../usecases/ConsoleUseCase";
@injectable()
export default class ConsoleController {
constructor(private readonly consoleUseCase: ConsoleUseCase) {}
- resize(width: number, height: number) {
- return this.consoleUseCase.resize(width, height);
+ resize(senderTabId: number, width: number, height: number) {
+ return this.consoleUseCase.resize(senderTabId, width, height);
}
}