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

Unified Diff: runtime/vm/port.h

Issue 212723002: Revert "- Make ports be less predictable." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 | « runtime/vm/message_handler.cc ('k') | runtime/vm/port.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/port.h
diff --git a/runtime/vm/port.h b/runtime/vm/port.h
index 5a0f177402b5ef2f02a276fe5c286feb78eaca86..e6c711e144f3d0688edc29f46bee41fc7575bb58 100644
--- a/runtime/vm/port.h
+++ b/runtime/vm/port.h
@@ -8,7 +8,6 @@
#include "include/dart_api.h"
#include "vm/allocation.h"
#include "vm/globals.h"
-#include "vm/random.h"
namespace dart {
@@ -83,7 +82,7 @@ class PortMap: public AllStatic {
static intptr_t used_;
static intptr_t deleted_;
- static Random* prng_;
+ static Dart_Port next_port_;
};
} // namespace dart
« no previous file with comments | « runtime/vm/message_handler.cc ('k') | runtime/vm/port.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698