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

Unified Diff: runtime/bin/eventhandler.dart

Issue 10962012: Use native wrapper fields to store socket ids. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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/eventhandler.dart
diff --git a/runtime/bin/eventhandler.dart b/runtime/bin/eventhandler.dart
index 8310a0a9d2373a9bf5c54121d53fd103deeb2c08..2e0a8fc1910a626b6d5e1dbec68331c966670193 100644
--- a/runtime/bin/eventhandler.dart
+++ b/runtime/bin/eventhandler.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// 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.
@@ -14,13 +14,13 @@ class _EventHandler extends NativeFieldWrapperClass1 {
void _doStart() native "EventHandler_Start";
- static _sendData(int id, ReceivePort receivePort, int data) {
+ static _sendData(Object sender, ReceivePort receivePort, int data) {
if (_eventHandler !== null) {
- _eventHandler._doSendData(id, receivePort, data);
+ _eventHandler._doSendData(sender, receivePort, data);
}
}
- void _doSendData(int id, ReceivePort receivePort, int data)
+ void _doSendData(Object sender, ReceivePort receivePort, int data)
native "EventHandler_SendData";
static _EventHandler _eventHandler;
« no previous file with comments | « runtime/bin/eventhandler.cc ('k') | runtime/bin/process.cc » ('j') | runtime/bin/socket.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698