On Thu, Jun 18, 2009 at 1:53 PM, pi <[email protected]> wrote:

> Today I find the exception in
> AutocompleteEditViewWin::EraseTopOfSelection is caused by the rong
> compiler option of 2.0.172.28 official build.
>
> autocomplete_edit_view_win.cc:
>
> HDC BeginPaintIntercept(HWND hWnd, LPPAINTSTRUCT lpPaint) {
> BOOL EndPaintIntercept(HWND hWnd, const PAINTSTRUCT* lpPaint) {
>
> These two intercepting win32 API are not explicitly defined as
> __stdcall, and are  wrongly compiled as __cdecl:
>
> chrome_1c30000!`anonymous namespace'::BeginPaintIntercept:
> 021ea88f
> 021ea8b5 c3              ret
> 021ea8c4 c3              ret
>
> chrome_1c30000!`anonymous namespace'::EndPaintIntercept:
> 021ea8c5
> 021ea8d7 c3              ret
> 021ea8e6 c3              ret
>

This should be fixed regardless of win2k support.  You should file a bug for
this.  Feel free to attach a patch that adds stdcall declarations.

PK

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to