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

Unified Diff: client/samples/total/src/HtmlTable.dart

Issue 8363040: Implement measurement using futures (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: take2 Created 9 years, 2 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: client/samples/total/src/HtmlTable.dart
diff --git a/client/samples/total/src/HtmlTable.dart b/client/samples/total/src/HtmlTable.dart
index 47350a31b7248ed3ffa8d65df492b2bea8fe5c55..d2e524076aa02fb9eefe2eb6d9df2fa580a3ec0a 100644
--- a/client/samples/total/src/HtmlTable.dart
+++ b/client/samples/total/src/HtmlTable.dart
@@ -75,7 +75,7 @@ class HtmlTable {
_table.deleteRow(index);
}
- ClientRect getBoundingClientRect() => _table.getBoundingClientRect();
+ Future<ElementRect> get rect() => _table.rect;
// FIXME?
TableRowElement getRowElement(int row) => _table.rows[row];

Powered by Google App Engine
This is Rietveld 408576698