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

Unified Diff: base/threading/platform_thread.h

Issue 170283013: base: Add const to a few PlatformThreadHandle methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/platform_thread.h
diff --git a/base/threading/platform_thread.h b/base/threading/platform_thread.h
index 9742d570c6fb7def3dbf6130769182b962afa04d..f2f3b260586cdcf67a75fae4b0a3e0119ece61f6 100644
--- a/base/threading/platform_thread.h
+++ b/base/threading/platform_thread.h
@@ -53,15 +53,15 @@ class PlatformThreadHandle {
id_(id) {
}
- bool is_equal(const PlatformThreadHandle& other) {
+ bool is_equal(const PlatformThreadHandle& other) const {
return handle_ == other.handle_;
}
- bool is_null() {
+ bool is_null() const {
return !handle_;
}
- Handle platform_handle() {
+ Handle platform_handle() const {
return handle_;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698