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

Unified Diff: sky/sdk/lib/rendering/stack.dart

Issue 1200233002: Use the baseline information exposed by C++ to pipe baseline data through RenderBox. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/sdk/lib/rendering/paragraph.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/rendering/stack.dart
diff --git a/sky/sdk/lib/rendering/stack.dart b/sky/sdk/lib/rendering/stack.dart
index 72a7cb62665d6fdda0596cc108c47d02d3660ba5..a3efa186e095e854537c9925bd22750ba3fa88c9 100644
--- a/sky/sdk/lib/rendering/stack.dart
+++ b/sky/sdk/lib/rendering/stack.dart
@@ -107,6 +107,10 @@ class RenderStack extends RenderBox with ContainerRenderObjectMixin<RenderBox, S
return height;
}
+ double getDistanceToActualBaseline(TextBaseline baseline) {
+ return defaultGetDistanceToHighestActualBaseline(baseline);
+ }
+
void performLayout() {
bool hasNonPositionedChildren = false;
« no previous file with comments | « sky/sdk/lib/rendering/paragraph.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698