Skip to content
  • hausmann@webkit.org's avatar
    Add support for hooking BeginPaint/EndPaint on 64Bit Windows · 3f1ee5c2
    hausmann@webkit.org authored
    Patch by Prasanth Ullattil <prasanth.ullattil@nokia.com> on 2009-08-12
    Reviewed by Simon Hausmann.
    
    Webkit uses the runtime patching trick explained by "Feng Yuan" for
    hooking these paint functions. It currently supports only 32bit assembly
    code. This patch adds support for 64Bit version. Since inline-assemblies
    are not supported for 64Bit, we have use a seperate .asm file.
    
    * WebCore.pro:
    * plugins/win/PaintHooks.asm: Added.
    * plugins/win/PluginViewWin.cpp:
    (WebCore::PluginView::hookedBeginPaint):
    (WebCore::PluginView::hookedEndPaint):
    (WebCore::hook):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3f1ee5c2