[webkit-changes] [WebKit/WebKit] 322336: Don't directly expose s_instanceHandle on Windows

Don Olmstead noreply at github.com
Wed Nov 30 08:49:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 32233601e2c90586467b9f5aedac76e0c874e032
      https://github.com/WebKit/WebKit/commit/32233601e2c90586467b9f5aedac76e0c874e032
  Author: Don Olmstead <don.olmstead at sony.com>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M Source/WebCore/platform/win/WebCoreInstanceHandle.cpp
    M Source/WebCore/platform/win/WebCoreInstanceHandle.h

  Log Message:
  -----------
  Don't directly expose s_instanceHandle on Windows
https://bugs.webkit.org/show_bug.cgi?id=248503

Reviewed by Alex Christensen and Fujii Hironori.

All accesses of `s_instanceHandle` used the getter/setter functions so
just remove it from the header. Export the functions so WebCore can be
turned into a shared library.

* Source/WebCore/platform/win/WebCoreInstanceHandle.cpp:
* Source/WebCore/platform/win/WebCoreInstanceHandle.h:

Canonical link: https://commits.webkit.org/257183@main




More information about the webkit-changes mailing list