[go: nahoru, domu]

Skip to content

Commit

Permalink
Fix error in c867f6f
Browse files Browse the repository at this point in the history
  • Loading branch information
olilarkin committed Mar 18, 2024
1 parent 41460c2 commit 9056d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPlug/Extras/WebView/IPlugWebView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void* IWebView::OpenWebView(void* pParent, float x, float y, float w, float h, f
Settings->put_AreDevToolsEnabled(enableDevTools);

// this script adds a function IPlugSendMsg that is used to call the platform webview messaging function in JS
mCoreWebView->AddScriptToExecuteOnDocumentCreated(
mWebViewWnd->AddScriptToExecuteOnDocumentCreated(
L"function IPlugSendMsg(m) {window.chrome.webview.postMessage(m)};",
Callback<ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler>([this](HRESULT error,
PCWSTR id) -> HRESULT {
Expand Down

0 comments on commit 9056d04

Please sign in to comment.