Ignore:
Timestamp:
Dec 27, 2009, 12:32:01 AM (15 years ago)
Author:
[email protected]
Message:

2009-12-27 Patrick Gansterer <[email protected]>

Reviewed by Adam Barth.

WinCE buildfix (HWND_MESSAGE isn't supported there)

  • wtf/win/MainThreadWin.cpp: (WTF::initializeMainThreadPlatform):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/win/MainThreadWin.cpp

    r45924 r52571  
    5757        return;
    5858
     59    HWND hWndParent = 0;
    5960#if PLATFORM(WINCE)
    6061    WNDCLASS wcex;
     
    7172#else
    7273    RegisterClassEx(&wcex);
     74    hWndParent = HWND_MESSAGE;
    7375#endif
    7476
    7577    threadingWindowHandle = CreateWindow(kThreadingWindowClassName, 0, 0,
    76        CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, HWND_MESSAGE, 0, 0, 0);
     78       CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, hWndParent, 0, 0, 0);
    7779    threadingFiredMessage = RegisterWindowMessage(L"com.apple.WebKit.MainThreadFired");
    7880}
Note: See TracChangeset for help on using the changeset viewer.