-
- Downloads
Bug 1289432 - Drop the DispatchImmediate codepath. r=botond
Instead of having this special shortcut case that goes through MaybeHandleCurrentBlock and DispatchImmediate, we can just add the input to the queue normally and call ProcessInputBlocks() which effectively does the same thing. Doing it this way also guarantees that mQueuedInputs is non-empty and mQueuedInputs[0] is the input currently being processed. This is useful for future patches because it will allow us to maintain the guarantee that the input block for the input currently being processed can be readily accessed via GetCurrentInputBlock(). MozReview-Commit-ID: JuVbpsFLURo
Showing
- gfx/layers/apz/src/InputBlockState.cpp 0 additions, 8 deletionsgfx/layers/apz/src/InputBlockState.cpp
- gfx/layers/apz/src/InputBlockState.h 0 additions, 7 deletionsgfx/layers/apz/src/InputBlockState.h
- gfx/layers/apz/src/InputQueue.cpp 14 additions, 35 deletionsgfx/layers/apz/src/InputQueue.cpp
- gfx/layers/apz/src/InputQueue.h 0 additions, 7 deletionsgfx/layers/apz/src/InputQueue.h
Loading
Please register or sign in to comment