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

Unified Diff: Source/core/rendering/FastTextAutosizer.h

Issue 319013003: Set multiplier to 1 on blocks with no direct text children. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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/rendering/FastTextAutosizer.h
diff --git a/Source/core/rendering/FastTextAutosizer.h b/Source/core/rendering/FastTextAutosizer.h
index fa9e4e61c66b9474fc2e791b9f455c4f5376ca1f..97f2a7f73881b1ab24b8327916a27c3ba509de0f 100644
--- a/Source/core/rendering/FastTextAutosizer.h
+++ b/Source/core/rendering/FastTextAutosizer.h
@@ -246,6 +246,7 @@ private:
void endLayout(RenderBlock*);
void inflateAutoTable(RenderTable*);
void inflate(RenderBlock*);
+ void inflateRecursive(RenderObject*, float& multiplier);
bool shouldHandleLayout() const;
void setAllTextNeedsLayout();
void resetMultipliers();

Powered by Google App Engine
This is Rietveld 408576698