DescriptionEditing - Code refactoring to avoid several calls to rendererIsEditable() in loop
In startOfParagraph() and endOfParagraph(), rendererIsEditable() is called
repeatedly in loop for a node that remains unchanged throughout the function.
This is avoided by using a local variable.
TEST=No test added, since it is a refactoring. All the layout tests have been successfully executed.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163268
Patch Set 1 #
Total comments: 2
Patch Set 2 : Renaming to startNodeIsEditable #Messages
Total messages: 5 (0 generated)
|