• kalyan.kondapally's avatar
    Fix crash in ResetCursor. · 427485ab
    kalyan.kondapally authored
    During the GPU Channel set up, we queue Cursor related IPC calls and
    calls related to Widget delegate creation is done only after the channel
    is established. This has a effect that the cursor related IPC calls are
    handled first and then calls related to Widget delegate creation. However
    ResetCursor expects WindowDelegate for the widget to be already
    present. Now, we force the creation of WidgetDelegate in OnCursorSet.
    
    This was causing a crash during startup.
    
    Review URL: https://codereview.chromium.org/698793002
    
    Cr-Commit-Position: refs/heads/master@{#302622}
    427485ab
dri_cursor.h 1.97 KB