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

Unified Diff: runtime/lib/internal_patch.dart

Issue 2767533002: Revert "Fix observatory tests broken by running dartfmt." (Closed)
Patch Set: Created 3 years, 9 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 | « runtime/lib/immutable_map.dart ('k') | runtime/lib/invocation_mirror_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/internal_patch.dart
diff --git a/runtime/lib/internal_patch.dart b/runtime/lib/internal_patch.dart
index cddf30ad4262172b81561cfa97effbde80317766..b7168750ddf423c5fb3703065872bffef1ed4e5a 100644
--- a/runtime/lib/internal_patch.dart
+++ b/runtime/lib/internal_patch.dart
@@ -4,12 +4,10 @@
import 'dart:core' hide Symbol;
-@patch
-List makeListFixedLength(List growableList)
+@patch List makeListFixedLength(List growableList)
native "Internal_makeListFixedLength";
-@patch
-List makeFixedListUnmodifiable(List fixedLengthList)
+@patch List makeFixedListUnmodifiable(List fixedLengthList)
native "Internal_makeFixedListUnmodifiable";
class VMLibraryHooks {
@@ -50,11 +48,11 @@ bool _classRangeCheckNegative(int cid, int lowerLimit, int upperLimit) {
// Utility class now only used by the VM.
class Lists {
- static void copy(List src, int srcStart, List dst, int dstStart, int count) {
+ static void copy(List src, int srcStart,
+ List dst, int dstStart, int count) {
if (srcStart < dstStart) {
for (int i = srcStart + count - 1, j = dstStart + count - 1;
- i >= srcStart;
- i--, j--) {
+ i >= srcStart; i--, j--) {
dst[j] = src[i];
}
} else {
« no previous file with comments | « runtime/lib/immutable_map.dart ('k') | runtime/lib/invocation_mirror_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698