mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 08:41:10 +00:00
Clone SourceFactory to ensure that it does not bring a ContentAnalysis reference.
TBR R=brianwilkerson@google.com, paulberry@google.com BUG= Review URL: https://codereview.chromium.org/2453773006 .
This commit is contained in:
parent
4923c45689
commit
5ad24d5185
|
@ -177,8 +177,9 @@ class AnalysisDriver {
|
|||
AnalysisStatus _currentStatus = AnalysisStatus.IDLE;
|
||||
|
||||
AnalysisDriver(this._logger, this._resourceProvider, this._byteStore,
|
||||
this._contentCache, this._sourceFactory, this._analysisOptions) {
|
||||
_sdkBundle = _sourceFactory.dartSdk.getLinkedBundle();
|
||||
this._contentCache, SourceFactory sourceFactory, this._analysisOptions)
|
||||
: _sourceFactory = sourceFactory.clone() {
|
||||
_sdkBundle = sourceFactory.dartSdk.getLinkedBundle();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue