Some more removals of dart:utf.

R=jmesserly@google.com, lrn@google.com, nweiz@google.com

Review URL: https://codereview.chromium.org//22909059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/csslib@26712 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/test/compiler_test.dart b/test/compiler_test.dart
index ee37f29..f545a6d 100644
--- a/test/compiler_test.dart
+++ b/test/compiler_test.dart
@@ -4,7 +4,7 @@
 
 library compiler_test;
 
-import 'dart:utf';
+import 'dart:convert';
 import 'package:unittest/unittest.dart';
 import 'package:csslib/parser.dart';
 import 'package:csslib/visitor.dart';
@@ -521,7 +521,7 @@
       'color : #00F578; border-color: #878787;'
     '}]]>';
 
-  var stylesheet = parse(encodeUtf8(input), errors: errors);
+  var stylesheet = parse(UTF8.encode(input), errors: errors);
 
   expect(stylesheet != null, true);
   expect(errors.isEmpty, true, reason: errors.toString());
diff --git a/test/nested_test.dart b/test/nested_test.dart
index e6b0025..5423644 100644
--- a/test/nested_test.dart
+++ b/test/nested_test.dart
@@ -4,7 +4,6 @@
 
 library nested_test;
 
-import 'dart:utf';
 import 'package:unittest/unittest.dart';
 import 'package:csslib/parser.dart';
 import 'package:csslib/visitor.dart';
diff --git a/test/var_test.dart b/test/var_test.dart
index ecbd22d..afdc570 100644
--- a/test/var_test.dart
+++ b/test/var_test.dart
@@ -4,7 +4,6 @@
 
 library var_test;
 
-import 'dart:utf';
 import 'package:unittest/unittest.dart';
 import 'package:csslib/parser.dart';
 import 'package:csslib/visitor.dart';
diff --git a/test/visitor_test.dart b/test/visitor_test.dart
index e60dbc5..7fcde97 100644
--- a/test/visitor_test.dart
+++ b/test/visitor_test.dart
@@ -4,7 +4,6 @@
 
 library visitor_test;
 
-import 'dart:utf';
 import 'package:unittest/unittest.dart';
 import 'package:csslib/parser.dart';
 import 'package:csslib/visitor.dart';