Fix crash in ResetCursor.
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}
Showing
Please register or sign in to comment