diff --git a/modules/juce_gui_extra/native/juce_WebBrowserComponent_windows.cpp b/modules/juce_gui_extra/native/juce_WebBrowserComponent_windows.cpp index 945fc6d8e8..6e6c3853ed 100644 --- a/modules/juce_gui_extra/native/juce_WebBrowserComponent_windows.cpp +++ b/modules/juce_gui_extra/native/juce_WebBrowserComponent_windows.cpp @@ -491,11 +491,10 @@ public: void fallbackPaint (Graphics& webBrowserComponentContext) override { + webBrowserComponentContext.fillAll (Colours::white); + if (! hasBrowserBeenCreated()) - { - webBrowserComponentContext.fillAll (Colours::white); checkWindowAssociation(); - } } void focusGainedWithDirection (FocusChangeType, FocusChangeDirection direction) override