Clean up redundant Promise.resolve() in ConsolePinPane.js
Clean up redundant Promise.resolve() in ConsolePinPane.js

Bug: chromium:1161501
Change-Id: I12affd8ecf749a6b2d2dc849d7ba6187cc0ffc2b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2602978
Auto-Submit: Mathias Bynens <17a2cbc4e33156874a9862b0f530521117e66a3d@chromium.org>
Reviewed-by: Changhao Han <68542faf32f0a558a873c0f094ca9bedb2744bff@chromium.org>
Commit-Queue: Changhao Han <68542faf32f0a558a873c0f094ca9bedb2744bff@chromium.org>

ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend