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

Unified Diff: pkg/analysis_server/lib/src/operation/operation_analysis.dart

Issue 1131423002: Clean up many generated constructors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Comment change Created 5 years, 7 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: pkg/analysis_server/lib/src/operation/operation_analysis.dart
diff --git a/pkg/analysis_server/lib/src/operation/operation_analysis.dart b/pkg/analysis_server/lib/src/operation/operation_analysis.dart
index 7f0fe1a84bb10549a03c371c25408e752fd58eb6..6ac3935af247e1b5f5f534d45a16aa86c61dae12 100644
--- a/pkg/analysis_server/lib/src/operation/operation_analysis.dart
+++ b/pkg/analysis_server/lib/src/operation/operation_analysis.dart
@@ -174,7 +174,7 @@ void sendAnalysisNotificationOverrides(
*/
void setCacheSize(AnalysisContext context, int cacheSize) {
AnalysisOptionsImpl options =
- new AnalysisOptionsImpl.con1(context.analysisOptions);
+ new AnalysisOptionsImpl.from(context.analysisOptions);
options.cacheSize = cacheSize;
context.analysisOptions = options;
}

Powered by Google App Engine
This is Rietveld 408576698