This patch is related to commit r47159 (http://trac.webkit.org/changeset/47159). On windows we cannot release a part of a region with VirtualFree. To get around this we'll release the entire region and reallocate the size that we want. This needs to be done for all ports running on Windows (Gtk, Qt, Wx, etc) not just for PLATFORM(WIN). PLATFORM(WIN) guard should be changed to PLATFORM(WIN_OS).
Created attachment 43974 [details] proposed patch.
Comment on attachment 43974 [details] proposed patch. Looks OK to me.
Comment on attachment 43974 [details] proposed patch. Clearing flags on attachment: 43974 Committed r51461: <http://trac.webkit.org/changeset/51461>
All reviewed patches have been landed. Closing bug.
Cherry-picked into QtWebKit 4.6 maintenance branch as 205da189165ea7ba9940bb3bf183b856ce0be874
I wonder if HAVE(VIRTUALALLOC) would be more appropriate?