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

Unified Diff: runtime/bin/file_patch.dart

Issue 2612043002: Fixes to patch files necessary to use the analyzer (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | runtime/lib/array_patch.dart » ('j') | runtime/lib/array_patch.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_patch.dart
diff --git a/runtime/bin/file_patch.dart b/runtime/bin/file_patch.dart
index 2fe1414fa9950d6a9d07034b5ae8b8f546ae9bfc..5e4b16a0319ae568afd8ef599b93b46f2c09751e 100644
--- a/runtime/bin/file_patch.dart
+++ b/runtime/bin/file_patch.dart
@@ -77,14 +77,14 @@ class _WatcherPath {
@patch static Stream<FileSystemEvent> _watch(
String path, int events, bool recursive) {
if (Platform.isLinux) {
- return new _InotifyFileSystemWatcher(path, events, recursive).stream;
+ return new _InotifyFileSystemWatcher(path, events, recursive)._stream;
}
if (Platform.isWindows) {
- return new _Win32FileSystemWatcher(path, events, recursive).stream;
+ return new _Win32FileSystemWatcher(path, events, recursive)._stream;
}
if (Platform.isMacOS) {
return new _FSEventStreamFileSystemWatcher(
- path, events, recursive).stream;
+ path, events, recursive)._stream;
}
throw new FileSystemException(
"File system watching is not supported on this platform");
@@ -100,7 +100,7 @@ class _WatcherPath {
onCancel: _cancel);
}
- Stream get stream => _broadcastController.stream;
+ Stream get _stream => _broadcastController.stream;
Kevin Millikin (Google) 2017/01/04 15:31:04 Patch files can't introduce new public members, so
void _listen() {
if (_id == null) {
« no previous file with comments | « no previous file | runtime/lib/array_patch.dart » ('j') | runtime/lib/array_patch.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698