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

Unified Diff: vm/dart_api_impl.cc

Issue 11017069: - Remove deprecated Dart API calls Dart_ClosureSmrck and DartClosureSetSmrck (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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
« no previous file with comments | « include/dart_api.h ('k') | vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/dart_api_impl.cc
===================================================================
--- vm/dart_api_impl.cc (revision 13425)
+++ vm/dart_api_impl.cc (working copy)
@@ -2428,26 +2428,6 @@
}
-DART_EXPORT int64_t Dart_ClosureSmrck(Dart_Handle object) {
- Isolate* isolate = Isolate::Current();
- DARTSCOPE(isolate);
- const Closure& obj =
- Closure::CheckedHandle(isolate, Api::UnwrapHandle(object));
- const Integer& smrck = Integer::Handle(isolate, obj.smrck());
- return smrck.IsNull() ? 0 : smrck.AsInt64Value();
-}
-
-
-DART_EXPORT void Dart_ClosureSetSmrck(Dart_Handle object, int64_t value) {
- Isolate* isolate = Isolate::Current();
- DARTSCOPE(isolate);
- const Closure& obj =
- Closure::CheckedHandle(isolate, Api::UnwrapHandle(object));
- const Integer& smrck = Integer::Handle(isolate, Integer::New(value));
- obj.set_smrck(smrck);
-}
-
-
// --- Classes and Interfaces ---
« no previous file with comments | « include/dart_api.h ('k') | vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698