Skip to content

Commit 05cf680

Browse files
committed
Merge pull request nwjs#3340 from wuyuehang/fix_devtools_page_blank
Fix nwjs#3143: remote debugging devtools page blank
2 parents 4d9f3cb + f30e9ba commit 05cf680

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/browser/shell_devtools_manager_delegate.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "content/public/common/url_constants.h"
2424
#include "content/public/common/user_agent.h"
2525
#include "content/nw/src/nw_shell.h"
26-
#include "grit/shell_resources.h"
26+
#include "grit/nw_resources.h"
2727
#include "net/socket/tcp_server_socket.h"
2828
#include "ui/base/resource/resource_bundle.h"
2929

@@ -202,7 +202,7 @@ std::string ShellDevToolsDelegate::GetDiscoveryPageHTML() {
202202
return std::string();
203203
#else
204204
return ResourceBundle::GetSharedInstance().GetRawDataResource(
205-
IDR_CONTENT_SHELL_DEVTOOLS_DISCOVERY_PAGE).as_string();
205+
IDR_NW_DEVTOOLS_DISCOVERY_PAGE).as_string();
206206
#endif
207207
}
208208

0 commit comments

Comments
 (0)