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

Unified Diff: runtime/bin/common_patch.dart

Issue 2220883004: Use metadata annotation @patch for patch classes (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: wip Created 4 years, 4 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/bin/directory_patch.dart » ('j') | runtime/vm/parser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/common_patch.dart
diff --git a/runtime/bin/common_patch.dart b/runtime/bin/common_patch.dart
index feaf552696c25fa4afa0d2f7167e6168d534bafa..aa6e1aa6bb183f1cfe9257ee2385b08cf6c2e607 100644
--- a/runtime/bin/common_patch.dart
+++ b/runtime/bin/common_patch.dart
@@ -2,8 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-patch class _IOCrypto {
- /* patch */ static Uint8List getRandomBytes(int count)
+@patch class _IOCrypto {
+ /* @patch */ static Uint8List getRandomBytes(int count)
Vyacheslav Egorov (Google) 2016/08/09 11:31:06 I wonder if could make it @patch static Uint8Lis
hausner 2016/08/09 15:48:45 Yes, that would make sense. It's actually an old T
Vyacheslav Egorov (Google) 2016/08/09 16:15:27 SGTM!
native "Crypto_GetRandomBytes";
}
« no previous file with comments | « no previous file | runtime/bin/directory_patch.dart » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698