| Index: compiler/javatests/com/google/dart/compiler/common/LibrarySourceFileTest.java
 | 
| diff --git a/compiler/javatests/com/google/dart/compiler/common/LibrarySourceFileTest.java b/compiler/javatests/com/google/dart/compiler/common/LibrarySourceFileTest.java
 | 
| index bdd89cdcf5c79489876a69b9756dd9001f8839fe..bbf83e09644c52d00c7e15202be22cdf328e81ee 100644
 | 
| --- a/compiler/javatests/com/google/dart/compiler/common/LibrarySourceFileTest.java
 | 
| +++ b/compiler/javatests/com/google/dart/compiler/common/LibrarySourceFileTest.java
 | 
| @@ -4,6 +4,7 @@
 | 
|  
 | 
|  package com.google.dart.compiler.common;
 | 
|  
 | 
| +import com.google.common.collect.Sets;
 | 
|  import com.google.dart.compiler.AbstractSourceFileTest;
 | 
|  import com.google.dart.compiler.DartCompilationError;
 | 
|  import com.google.dart.compiler.DartCompilerListener;
 | 
| @@ -107,7 +108,13 @@ public class LibrarySourceFileTest extends AbstractSourceFileTest {
 | 
|        };
 | 
|  
 | 
|        try {
 | 
| -        libUnit = DartParser.getSourceParser(lib, listener).preProcessLibraryDirectives(lib);
 | 
| +        libUnit = new DartParser(
 | 
| +            lib,
 | 
| +            DartParser.read(lib),
 | 
| +            false,
 | 
| +            Sets.<String>newHashSet(),
 | 
| +            listener,
 | 
| +            null).preProcessLibraryDirectives(lib);
 | 
|        } catch (IOException ioEx) {
 | 
|          libUnit = null;
 | 
|        }
 | 
| 
 |