Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(658)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableRow.cpp

Issue 1577433003: Statistics of LayoutBox rare data reasons Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: - Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
index 3184ad5c5a4ef04f7f70463640b98b687cc92e81..c15039748cc0c0ef7cb0c4ce83fb5d196ceafc5e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
@@ -44,6 +44,7 @@ LayoutTableRow::LayoutTableRow(Element* element)
: LayoutTableBoxComponent(element), m_rowIndex(unsetRowIndex) {
// init LayoutObject attributes
setInline(false); // our object is not Inline
+ m_rareStat.addReason(ReasonLTRAll);
}
void LayoutTableRow::willBeRemovedFromTree() {

Powered by Google App Engine
This is Rietveld 408576698