| Index: third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp b/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp
|
| index 24fa4b3dd6eae528feee07b9e7c0448c10749cbd..2a15a4e1d83b6d3bc14ed137854ca03d60c72fbd 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp
|
| @@ -235,7 +235,7 @@ WebDistillabilityFeatures DocumentStatisticsCollector::collectStatistics(Documen
|
| double startTime = monotonicallyIncreasingTime();
|
|
|
| // This should be cheap since collectStatistics is only called right after layout.
|
| - document.updateLayoutTree();
|
| + document.updateStyleAndLayoutTree();
|
|
|
| // Traverse the DOM tree and collect statistics.
|
| collectFeatures(*body, features);
|
|
|