Browse Source

Windows WebView2: Fix build on C++17

v7.0.9
attila Attila Szarvas 2 years ago
parent
commit
aceef4f5a2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_gui_extra/native/juce_WebBrowserComponent_windows.cpp

+ 2
- 2
modules/juce_gui_extra/native/juce_WebBrowserComponent_windows.cpp View File

@@ -456,7 +456,7 @@ public:
{
return webView != nullptr
|| webView2ConstructionHelper.webView2BeingCreated == this
|| webView2ConstructionHelper.viewsWaitingForCreation.contains (this);
|| webView2ConstructionHelper.viewsWaitingForCreation.count (this) > 0;
}
void goToURL (const String& url, const StringArray* headers, const MemoryBlock* postData) override
@@ -873,7 +873,7 @@ private:
for (auto* childWindow : directChildWindows)
{
if (! self->webView2ConstructionHelper.associatedWebViewNativeWindows.contains (childWindow))
if (self->webView2ConstructionHelper.associatedWebViewNativeWindows.count (childWindow) == 0)
{
if (anyChildWindow (childWindow,
[browserProcessId] (auto* childOfChild)


Loading…
Cancel
Save