mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +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;
|
AnalysisStatus _currentStatus = AnalysisStatus.IDLE;
|
||||||
|
|
||||||
AnalysisDriver(this._logger, this._resourceProvider, this._byteStore,
|
AnalysisDriver(this._logger, this._resourceProvider, this._byteStore,
|
||||||
this._contentCache, this._sourceFactory, this._analysisOptions) {
|
this._contentCache, SourceFactory sourceFactory, this._analysisOptions)
|
||||||
_sdkBundle = _sourceFactory.dartSdk.getLinkedBundle();
|
: _sourceFactory = sourceFactory.clone() {
|
||||||
|
_sdkBundle = sourceFactory.dartSdk.getLinkedBundle();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue