Changeset 83502 in webkit


Ignore:
Timestamp:
Apr 11, 2011 2:41:01 PM (13 years ago)
Author:
jhoneycutt@apple.com
Message:

<rdar://problem/9267042> Assertion failure on launch in
LayerChangesFlusher::setHook().

https://bugs.webkit.org/show_bug.cgi?id=58270

Reviewed by Adam Roben.

  • platform/graphics/ca/win/LayerChangesFlusher.cpp:

(WebCore::LayerChangesFlusher::setHook):
MSDN says that the HINSTANCE passed in must be null if the thread ID
passed is a thread created by this process and the hook procedure is
within this process.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r83501 r83502  
     12011-04-11  Jon Honeycutt  <jhoneycutt@apple.com>
     2
     3        <rdar://problem/9267042> Assertion failure on launch in
     4        LayerChangesFlusher::setHook().
     5
     6        https://bugs.webkit.org/show_bug.cgi?id=58270
     7
     8        Reviewed by Adam Roben.
     9
     10        * platform/graphics/ca/win/LayerChangesFlusher.cpp:
     11        (WebCore::LayerChangesFlusher::setHook):
     12        MSDN says that the HINSTANCE passed in must be null if the thread ID
     13        passed is a thread created by this process and the hook procedure is
     14        within this process.
     15
    1162011-04-11  MORITA Hajime  <morrita@google.com>
    217
  • trunk/Source/WebCore/platform/graphics/ca/win/LayerChangesFlusher.cpp

    r82650 r83502  
    3030
    3131#include "AbstractCACFLayerTreeHost.h"
    32 #include "WebCoreInstanceHandle.h"
    3332#include <wtf/StdLibExtras.h>
    3433#include <wtf/Vector.h>
     
    108107    DWORD threadID = ::GetCurrentThreadId();
    109108
    110     m_hook = ::SetWindowsHookExW(WH_GETMESSAGE, hookCallback, instanceHandle(), threadID);
     109    m_hook = ::SetWindowsHookExW(WH_GETMESSAGE, hookCallback, 0, threadID);
    111110    ASSERT_WITH_MESSAGE(m_hook, "::SetWindowsHookExW failed with error %lu", ::GetLastError());
    112111
Note: See TracChangeset for help on using the changeset viewer.