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

Unified Diff: content/browser/browser_main_loop.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
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 203400ea7757b12c8581abdb4556a2f1bca2f863..9103376ae88ebd192515e657756d592aca34dca0 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -1201,8 +1201,8 @@ int BrowserMainLoop::BrowserThreadsStarted() {
allowed_clipboard_threads.push_back(base::PlatformThread::CurrentId());
#if defined(OS_WIN)
// On Windows, clipboards are also used on the FILE or IO threads.
- allowed_clipboard_threads.push_back(file_thread_->thread_id());
- allowed_clipboard_threads.push_back(io_thread_->thread_id());
+ allowed_clipboard_threads.push_back(file_thread_->GetThreadId());
+ allowed_clipboard_threads.push_back(io_thread_->GetThreadId());
#endif
ui::Clipboard::SetAllowedThreads(allowed_clipboard_threads);
« no previous file with comments | « components/scheduler/child/webthread_impl_for_worker_scheduler.cc ('k') | content/browser/power_save_blocker_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698