Skip to content

Commit

Permalink
8244579: Windows "User Objects" leakage with WebView
Browse files Browse the repository at this point in the history
Reviewed-by: ghb, kcr
  • Loading branch information
arun-joseph committed May 21, 2020
1 parent 37b5edc commit a13a642
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <wtf/java/JavaEnv.h>
#include <wtf/java/JavaRef.h>
#include <wtf/MainThread.h>
#include <wtf/RunLoop.h>

namespace WTF {
void scheduleDispatchFunctionsOnMainThread()
Expand All @@ -49,6 +50,9 @@ void scheduleDispatchFunctionsOnMainThread()

void initializeMainThreadPlatform()
{
#if OS(WINDOWS)
RunLoop::registerRunLoopMessageWindowClass();
#endif
}

bool isMainThreadIfInitialized()
Expand Down

0 comments on commit a13a642

Please sign in to comment.