DescriptionDevTools: Fix regression that slows down "Goto Source" dialog
The regression was caused by r174810. The root cause is the
implementation of WebInspector.StaticViewportElement which doesn't
support lazy DOM element creation. So every time the viewport processed
cumulative heights of inner elements, it actually forced all DOM elements
for viewport to be created.
To keep things simple, the patch moves fastHeight calls out of
ViewportElement interface into ViewportProvider.
BUG=377749
R=loislo@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175059
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|