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

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

Issue 1219113003: Make popup menus line up to their baseline per the Material spec. (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
Index: sky/sdk/lib/rendering/block.dart
diff --git a/sky/sdk/lib/rendering/block.dart b/sky/sdk/lib/rendering/block.dart
index a143acda0c9156763812935a26ad1bef97e0a1fb..07eec96cbc3c5887975a7c7c4723ff19a0826c36 100644
--- a/sky/sdk/lib/rendering/block.dart
+++ b/sky/sdk/lib/rendering/block.dart
@@ -77,8 +77,8 @@ class RenderBlock extends RenderBox with ContainerRenderObjectMixin<RenderBox, B
return _getIntrinsicHeight(constraints);
}
- double getDistanceToActualBaseline(TextBaseline baseline) {
- return defaultGetDistanceToFirstActualBaseline(baseline);
+ double computeDistanceToActualBaseline(TextBaseline baseline, RenderObject client) {
+ return defaultComputeDistanceToFirstActualBaseline(baseline, client);
}
void performLayout() {

Powered by Google App Engine
This is Rietveld 408576698