Index: third_party/WebKit/Source/core/layout/TextAutosizer.cpp |
diff --git a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp |
index 6af316ab57cadee615a34793c2d5cd764c5fd363..319d3b02c6a346a1ca0eaf95a35c372f1dbfed59 100644 |
--- a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp |
+++ b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp |
@@ -904,7 +904,7 @@ float TextAutosizer::superclusterMultiplier(Cluster* cluster) { |
const LayoutBlock* TextAutosizer::clusterWidthProvider( |
const LayoutBlock* root) const { |
- if (root->isTable() || root->isTableCell()) |
+ if (root->isTable() || root->isTableCell() || root->isLayoutView()) |
pdr.
2017/04/12 17:55:33
Can you update the comment in TextAutosizer.h to m
|
return root; |
return deepestBlockContainingAllText(root); |