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

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..d4e301bd366f4f1f1876e3dc80b55ebc60c4d371 100644
--- a/Source/core/rendering/FastTextAutosizer.h
+++ b/Source/core/rendering/FastTextAutosizer.h
@@ -245,7 +245,7 @@ private:
void beginLayout(RenderBlock*);
void endLayout(RenderBlock*);
void inflateAutoTable(RenderTable*);
- void inflate(RenderBlock*);
+ float inflate(RenderObject*, float multiplier = 0);
bool shouldHandleLayout() const;
void setAllTextNeedsLayout();
void resetMultipliers();
« no previous file with comments | « LayoutTests/fast/text-autosizing/text-removal-expected.txt ('k') | Source/core/rendering/FastTextAutosizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698