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

Unified Diff: Source/core/layout/LayoutTable.h

Issue 880113002: Fix crash when establishing an inline continuation inside a block continuation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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: Source/core/layout/LayoutTable.h
diff --git a/Source/core/layout/LayoutTable.h b/Source/core/layout/LayoutTable.h
index 511ef67a5d5549b7521883e27b11941aa5ad573f..02679b0be15df41ef6d1ade3b6d5215a430667a0 100644
--- a/Source/core/layout/LayoutTable.h
+++ b/Source/core/layout/LayoutTable.h
@@ -122,7 +122,8 @@ public:
int calcBorderEnd() const;
void recalcBordersInRowDirection();
- virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) override;
+ virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) override final;
Julien - ping for review 2015/01/28 17:29:53 This is redundant, LayoutTable is marked as final
mstensho (USE GERRIT) 2015/01/28 17:51:26 Done.
+ virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObject* beforeChild = 0) override;
mstensho (USE GERRIT) 2015/01/28 10:43:16 LayoutTable has its own very special implementatio
Julien - ping for review 2015/01/28 17:29:53 We didn't need the override AFAICT as we never exp
mstensho (USE GERRIT) 2015/01/28 17:51:26 The parent of |beforeChild| in RenderBlock::addChi
Julien - ping for review 2015/01/29 10:28:31 I think it's safer to implement the function (thin
mstensho (USE GERRIT) 2015/01/29 12:08:42 Done.
mstensho (USE GERRIT) 2015/01/29 17:49:48 FYI, removing the assertion again. It got hit by f
mstensho (USE GERRIT) 2015/01/29 18:05:41 Reported crbug.com/453488 for the fast/table/crash
struct ColumnStruct {
explicit ColumnStruct(unsigned initialSpan = 1)

Powered by Google App Engine
This is Rietveld 408576698