Chromium Code Reviews
DescriptionRemove the CHECK from the DirectManipulationHelper::Activate function as it is firing in Canary on Windows 10.
Crash dump analysis reveals the error code to be E_UNEXPECTED. Some disassembling into the Direct Manipulation Activate
function did not reveal a code path where the above error is returned. Based on the crash dump analysis it looks like
Activate is called on a window which is visible but has 0 dimensions which could possibly be triggering this.
In any case it is also possible that calling Activate multiple times on a window may be triggering this. I was unable to repro the crash though.
Proposed fixes include :-
1. Remove the CHECK from the DirectManipulationHelper::Activate function.
2. Add a new function DirectManipulationHelper::Deactivate which deactivates Direct manipulation processing on the window.
This is called from views and content when the window is hidden.
BUG=520492
Committed: https://crrev.com/ee20880b00c6381d4393fd9f1927459034871c63
Cr-Commit-Position: refs/heads/master@{#343526}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address sky review comments #
Total comments: 2
Patch Set 3 : Add SetMsgHandled to the windowpos changed handler #
Messages
Total messages: 13 (2 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||