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

Unified Diff: runtime/bin/thread.h

Issue 1482243006: VM: Small clean up and const-ness fix for Thread/OSThread constants. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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 | runtime/bin/thread_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/thread.h
diff --git a/runtime/bin/thread.h b/runtime/bin/thread.h
index 60dc75f24f465dafe62a6a7b0e051bd5fa88411e..d4a67bcc251424641d4091247a04096ddecb45c3 100644
--- a/runtime/bin/thread.h
+++ b/runtime/bin/thread.h
@@ -33,8 +33,8 @@ namespace bin {
class Thread {
public:
- static ThreadLocalKey kUnsetThreadLocalKey;
- static ThreadId kInvalidThreadId;
+ static const ThreadLocalKey kUnsetThreadLocalKey;
+ static const ThreadId kInvalidThreadId;
typedef void (*ThreadStartFunction) (uword parameter);
« no previous file with comments | « no previous file | runtime/bin/thread_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698