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

Unified Diff: content/browser/power_save_blocker_mac.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/browser_main_loop.cc ('k') | content/gpu/gpu_watchdog_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/power_save_blocker_mac.cc
diff --git a/content/browser/power_save_blocker_mac.cc b/content/browser/power_save_blocker_mac.cc
index ca466606cf8ea07bb8a3ac7ecbfe619c671e0d54..0ce80f6a2102886ed603031b5f3719d20bf966c8 100644
--- a/content/browser/power_save_blocker_mac.cc
+++ b/content/browser/power_save_blocker_mac.cc
@@ -60,7 +60,7 @@ class PowerSaveBlockerImpl::Delegate
void PowerSaveBlockerImpl::Delegate::ApplyBlock() {
DCHECK_EQ(base::PlatformThread::CurrentId(),
- g_power_thread.Pointer()->thread_id());
+ g_power_thread.Pointer()->GetThreadId());
CFStringRef level = NULL;
// See QA1340 <http://developer.apple.com/library/mac/#qa/qa1340/> for more
@@ -88,7 +88,7 @@ void PowerSaveBlockerImpl::Delegate::ApplyBlock() {
void PowerSaveBlockerImpl::Delegate::RemoveBlock() {
DCHECK_EQ(base::PlatformThread::CurrentId(),
- g_power_thread.Pointer()->thread_id());
+ g_power_thread.Pointer()->GetThreadId());
if (assertion_ != kIOPMNullAssertionID) {
IOReturn result = IOPMAssertionRelease(assertion_);
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/gpu/gpu_watchdog_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698