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

Unified Diff: pkg/third_party/html5lib/test/tokenizer_test.dart

Issue 23480032: remove use of deprecatedFutureValue from html5lib (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/third_party/html5lib/test/tokenizer_test.dart
diff --git a/pkg/third_party/html5lib/test/tokenizer_test.dart b/pkg/third_party/html5lib/test/tokenizer_test.dart
index 637cc9a686e2e21ad60a85d48b3beba0a84f4862..b9e43fedbca338baedf4fd19983b4a79fee64ece 100644
--- a/pkg/third_party/html5lib/test/tokenizer_test.dart
+++ b/pkg/third_party/html5lib/test/tokenizer_test.dart
@@ -33,8 +33,8 @@ class TokenizerTestParser {
// Note: we can't get a closure of the state method. However, we can
// create a new closure to invoke it via mirrors.
var mtok = reflect(tokenizer);
- tokenizer.state = () => deprecatedFutureValue(
- mtok.invokeAsync(new Symbol(_state), const [])).reflectee;
+ tokenizer.state = () =>
+ mtok.invoke(new Symbol(_state), const []).reflectee;
if (_lastStartTag != null) {
tokenizer.currentToken = new StartTagToken(_lastStartTag);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698