Chromium Code Reviews
DescriptionAllow selection change update before beginBatchEdit
Currently, selection changes immediately before beginBatchEdit() may be
merged into batch edit selection update which happens at endBatchEdit().
The reason is that it takes round-trip time to get update from previous
operation and if we increment mNumNestedBatchEdits in beginBatchEdit()
before the update from renderer process arrives at browser process,
then the update from operation will be ignored because
mNumNestedBatchEdits > 0.
This can be prevented if we block and update selection at outermost
beginBatchEdit() call.
BUG=643473
Patch Set 1 #Patch Set 2 : fix tests #
Messages
Total messages: 13 (10 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||