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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 796063006: Rename Thread -> OSThread. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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/code_observers.cc ('k') | runtime/vm/dart_api_impl_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_impl.cc
===================================================================
--- runtime/vm/dart_api_impl.cc (revision 42893)
+++ runtime/vm/dart_api_impl.cc (working copy)
@@ -47,7 +47,7 @@
DEFINE_FLAG(bool, trace_api, false,
"Trace invocation of API calls (debug mode only)");
-ThreadLocalKey Api::api_native_key_ = Thread::kUnsetThreadLocalKey;
+ThreadLocalKey Api::api_native_key_ = OSThread::kUnsetThreadLocalKey;
Dart_Handle Api::true_handle_ = NULL;
Dart_Handle Api::false_handle_ = NULL;
Dart_Handle Api::null_handle_ = NULL;
@@ -438,9 +438,9 @@
void Api::InitOnce() {
- ASSERT(api_native_key_ == Thread::kUnsetThreadLocalKey);
- api_native_key_ = Thread::CreateThreadLocal();
- ASSERT(api_native_key_ != Thread::kUnsetThreadLocalKey);
+ ASSERT(api_native_key_ == OSThread::kUnsetThreadLocalKey);
+ api_native_key_ = OSThread::CreateThreadLocal();
+ ASSERT(api_native_key_ != OSThread::kUnsetThreadLocalKey);
}
« no previous file with comments | « runtime/vm/code_observers.cc ('k') | runtime/vm/dart_api_impl_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698