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

Unified Diff: content/gpu/gpu_watchdog_thread.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 | « content/browser/power_save_blocker_mac.cc ('k') | gpu/command_buffer/service/gpu_tracer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_watchdog_thread.cc
diff --git a/content/gpu/gpu_watchdog_thread.cc b/content/gpu/gpu_watchdog_thread.cc
index 84056638caee869ad2ac276b76ffcb60e99efccf..801c2fc9f7a7aa933d5caa1f453e1d7cdc58d006 100644
--- a/content/gpu/gpu_watchdog_thread.cc
+++ b/content/gpu/gpu_watchdog_thread.cc
@@ -142,7 +142,7 @@ GpuWatchdogThread::~GpuWatchdogThread() {
}
void GpuWatchdogThread::OnAcknowledge() {
- CHECK(base::PlatformThread::CurrentId() == thread_id());
+ CHECK(base::PlatformThread::CurrentId() == GetThreadId());
// The check has already been acknowledged and another has already been
// scheduled by a previous call to OnAcknowledge. It is normal for a
@@ -170,7 +170,7 @@ void GpuWatchdogThread::OnAcknowledge() {
}
void GpuWatchdogThread::OnCheck(bool after_suspend) {
- CHECK(base::PlatformThread::CurrentId() == thread_id());
+ CHECK(base::PlatformThread::CurrentId() == GetThreadId());
// Do not create any new termination tasks if one has already been created
// or the system is suspended.
« no previous file with comments | « content/browser/power_save_blocker_mac.cc ('k') | gpu/command_buffer/service/gpu_tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698