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

Unified Diff: runtime/bin/eventhandler.h

Issue 1293533002: DO NOT SUBMIT: Unix domain sockets. From CL 1061283003. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Added Mac OS fix Created 5 years, 4 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/bin/directory_macos.cc ('k') | runtime/bin/file_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/eventhandler.h
diff --git a/runtime/bin/eventhandler.h b/runtime/bin/eventhandler.h
index c110d343dcab9d2779d03568e5ed2b33ba3b9b22..a5994b03e78a4b9c0d6e81cff7af4d21c9884ccf 100644
--- a/runtime/bin/eventhandler.h
+++ b/runtime/bin/eventhandler.h
@@ -557,6 +557,10 @@ class DescriptorInfoMultipleMixin : public DI {
if (!disable_tokens_) {
pentry->token_count += count;
}
+ if ((!(pentry->token_count <= kTokenCount)) || (pentry->token_count < -50)) {
+ fprintf(stderr, "pentry->token_count: %p kTokenCount: %i\n",
+ reinterpret_cast<void*>(pentry->token_count), kTokenCount);
+ }
ASSERT(pentry->token_count <= kTokenCount);
bool is_ready = pentry->token_count > 0 && pentry->IsReady();
if (!was_ready && is_ready) {
« no previous file with comments | « runtime/bin/directory_macos.cc ('k') | runtime/bin/file_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698