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

Unified Diff: runtime/bin/io_natives.cc

Issue 1892623002: Fixes leak of native File objects. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Remove unused GetFD Created 4 years, 8 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: runtime/bin/io_natives.cc
diff --git a/runtime/bin/io_natives.cc b/runtime/bin/io_natives.cc
index 39946a7e03377fe7140f71e4ca1cdce195353867..bf62f3d9f6e93699be90c936a83ba2f7e9bbe18f 100644
--- a/runtime/bin/io_natives.cc
+++ b/runtime/bin/io_natives.cc
@@ -31,9 +31,10 @@ namespace bin {
V(Directory_List, 3) \
V(EventHandler_SendData, 3) \
V(EventHandler_TimerMillisecondClock, 0) \
+ V(File_GetPointer, 1) \
+ V(File_SetPointer, 2) \
V(File_Open, 2) \
V(File_Exists, 1) \
- V(File_GetFD, 1) \
V(File_Close, 1) \
V(File_ReadByte, 1) \
V(File_WriteByte, 2) \

Powered by Google App Engine
This is Rietveld 408576698