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

Unified Diff: sdk/lib/html/html_common/html_common.dart

Issue 27523002: Add "deprecated" to the standard library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
Index: sdk/lib/html/html_common/html_common.dart
diff --git a/sdk/lib/html/html_common/html_common.dart b/sdk/lib/html/html_common/html_common.dart
index 72d5dab736fe4bd2b3c839452755dfa5f0d4e140..2bf8f7e8e38323ed2a820f27891fa8963461f501 100644
--- a/sdk/lib/html/html_common/html_common.dart
+++ b/sdk/lib/html/html_common/html_common.dart
@@ -6,15 +6,12 @@ library html_common;
import 'dart:collection';
import 'dart:html';
+import 'dart:annotation' show deprecated;
import 'metadata.dart';
export 'metadata.dart';
-
part 'css_class_set.dart';
part 'device.dart';
part 'filtered_element_list.dart';
part 'lists.dart';
-// For annotating deprecated APIs.
-// TODO: remove once @deprecated is added to dart core.
-const deprecated = 0;

Powered by Google App Engine
This is Rietveld 408576698