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

Side by Side Diff: runtime/lib/isolate_patch.dart

Issue 2705593002: Fix various nits in VM patch files. (Closed)
Patch Set: Address comments and issues found during testing. Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « runtime/lib/developer.dart ('k') | runtime/lib/math_patch.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import "dart:collection" show HashMap; 5 import "dart:collection" show HashMap;
6 import "dart:_internal"; 6 import "dart:_internal" hide Symbol;
7 7
8 @patch class ReceivePort { 8 @patch class ReceivePort {
9 @patch factory ReceivePort() = _ReceivePortImpl; 9 @patch factory ReceivePort() = _ReceivePortImpl;
10 10
11 @patch factory ReceivePort.fromRawReceivePort(RawReceivePort rawPort) = 11 @patch factory ReceivePort.fromRawReceivePort(RawReceivePort rawPort) =
12 _ReceivePortImpl.fromRawReceivePort; 12 _ReceivePortImpl.fromRawReceivePort;
13 } 13 }
14 14
15 @patch class Capability { 15 @patch class Capability {
16 @patch factory Capability() = _CapabilityImpl; 16 @patch factory Capability() = _CapabilityImpl;
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 try { 578 try {
579 return Uri.parse(_getCurrentRootUriStr()); 579 return Uri.parse(_getCurrentRootUriStr());
580 } catch (e, s) { 580 } catch (e, s) {
581 return null; 581 return null;
582 } 582 }
583 } 583 }
584 584
585 static String _getCurrentRootUriStr() 585 static String _getCurrentRootUriStr()
586 native "Isolate_getCurrentRootUriStr"; 586 native "Isolate_getCurrentRootUriStr";
587 } 587 }
OLDNEW
« no previous file with comments | « runtime/lib/developer.dart ('k') | runtime/lib/math_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698