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

Unified Diff: media/midi/midi_manager_win.cc

Issue 1207823004: PlatformThreadHandle: remove public id() interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: the last two nits Created 5 years, 5 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 | « gpu/command_buffer/service/gpu_tracer.cc ('k') | sandbox/linux/services/thread_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_manager_win.cc
diff --git a/media/midi/midi_manager_win.cc b/media/midi/midi_manager_win.cc
index 4b7170a882bee031acf7dab7a5b4898f32bfd54a..2187ec039487b5f7ec62f62242dea5ea0060c77d 100644
--- a/media/midi/midi_manager_win.cc
+++ b/media/midi/midi_manager_win.cc
@@ -891,7 +891,7 @@ class MidiServiceWinImpl : public MidiServiceWin,
/////////////////////////////////////////////////////////////////////////////
void AssertOnSenderThread() {
- DCHECK_EQ(sender_thread_.thread_id(), base::PlatformThread::CurrentId());
+ DCHECK_EQ(sender_thread_.GetThreadId(), base::PlatformThread::CurrentId());
}
void SendOnSenderThread(uint32 port_number,
@@ -947,7 +947,7 @@ class MidiServiceWinImpl : public MidiServiceWin,
/////////////////////////////////////////////////////////////////////////////
void AssertOnTaskThread() {
- DCHECK_EQ(task_thread_.thread_id(), base::PlatformThread::CurrentId());
+ DCHECK_EQ(task_thread_.GetThreadId(), base::PlatformThread::CurrentId());
}
void UpdateDeviceListOnTaskThread() {
« no previous file with comments | « gpu/command_buffer/service/gpu_tracer.cc ('k') | sandbox/linux/services/thread_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698