Index: pkg/analysis_server/test/context_manager_test.dart |
diff --git a/pkg/analysis_server/test/context_manager_test.dart b/pkg/analysis_server/test/context_manager_test.dart |
index 46414f6cc3e4e8eb7cca8cc04601f27fcec18e2c..888c2ddd52e63bbc3fb31520ce4022e5916df33c 100644 |
--- a/pkg/analysis_server/test/context_manager_test.dart |
+++ b/pkg/analysis_server/test/context_manager_test.dart |
@@ -2707,9 +2707,11 @@ class TestContextManagerCallbacks extends ContextManagerCallbacks { |
@override |
ContextBuilder createContextBuilder(Folder folder, AnalysisOptions options) { |
DartSdkManager sdkManager = new DartSdkManager('/', false); |
- ContextBuilder builder = |
- new ContextBuilder(resourceProvider, sdkManager, new ContentCache()); |
- builder.defaultOptions = options; |
+ ContextBuilderOptions builderOptions = new ContextBuilderOptions(); |
+ builderOptions.defaultOptions = options; |
+ ContextBuilder builder = new ContextBuilder( |
+ resourceProvider, sdkManager, new ContentCache(), |
+ options: builderOptions); |
return builder; |
} |