зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1346542 - [3.0] Change setState to checkAndSetState to avoid updated state override. r=me
This commit is contained in:
Родитель
1719c11783
Коммит
fd51be56ce
|
@ -74,7 +74,8 @@ public final class EventDispatcher extends JNIObject {
|
|||
/* package */ void setStateHolder(final NativeQueue.StateHolder stateHolder) {
|
||||
mStateHolder = stateHolder;
|
||||
// Force queue flushing.
|
||||
mStateHolder.setState(mStateHolder.getState());
|
||||
final NativeQueue.State state = mStateHolder.getState();
|
||||
mStateHolder.checkAndSetState(state, state);
|
||||
}
|
||||
|
||||
private boolean isReadyForDispatchingToGecko() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче