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

Unified Diff: src/api.cc

Issue 23748003: Cleanup Semaphore class. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Damn broken Rietveld! Created 7 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
« no previous file with comments | « no previous file | src/d8.h » ('j') | test/cctest/test-semaphore.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 3e1f9fec982dbcc6231edcdd3bec8a85b8f601ab..0259356d9bb798c9ab1e1b07627d3aa1b2249cb5 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -7095,7 +7095,8 @@ void Debug::SetHostDispatchHandler(HostDispatchHandler handler,
i::Isolate* isolate = i::Isolate::Current();
EnsureInitializedForIsolate(isolate, "v8::Debug::SetHostDispatchHandler");
ENTER_V8(isolate);
- isolate->debugger()->SetHostDispatchHandler(handler, period);
+ isolate->debugger()->SetHostDispatchHandler(
+ handler, i::TimeDelta::FromMilliseconds(period));
}
« no previous file with comments | « no previous file | src/d8.h » ('j') | test/cctest/test-semaphore.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698