summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authortoyoshim <toyoshim@chromium.org>2015-07-24 02:25:16 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-24 09:26:02 +0000
commitc41261e9491c3a763c472fe35737ec36200d6310 (patch)
treeadcbf6f746aef53e4e1be242ac6bf73f32162f23 /sandbox
parentf08040289fb0ed72c792863d2dab73fe4d1ca943 (diff)
downloadchromium_src-c41261e9491c3a763c472fe35737ec36200d6310.zip
chromium_src-c41261e9491c3a763c472fe35737ec36200d6310.tar.gz
chromium_src-c41261e9491c3a763c472fe35737ec36200d6310.tar.bz2
PlatformThreadHandle: remove public id() interface
Remove PlatformThreadHandle.id() interface. Also remove id_ member that is not needed any more. BUG=468793 TEST=./out/Debug/base_unittests TEST=git cl try Review URL: https://codereview.chromium.org/1207823004 Cr-Commit-Position: refs/heads/master@{#340242}
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/linux/services/thread_helpers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/linux/services/thread_helpers.cc b/sandbox/linux/services/thread_helpers.cc
index 80766a9..de7df59 100644
--- a/sandbox/linux/services/thread_helpers.cc
+++ b/sandbox/linux/services/thread_helpers.cc
@@ -132,7 +132,7 @@ bool ThreadHelpers::StopThreadAndWatchProcFS(int proc_fd,
base::Thread* thread) {
DCHECK_LE(0, proc_fd);
DCHECK(thread);
- const base::PlatformThreadId thread_id = thread->thread_id();
+ const base::PlatformThreadId thread_id = thread->GetThreadId();
const std::string thread_id_dir_str =
"self/task/" + base::IntToString(thread_id) + "/";