diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-21 03:57:12 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-21 03:57:12 +0000 |
commit | 5686b177b4c9de40440ccd60546529b8a4522cd1 (patch) | |
tree | 5724cad21e7ee040c06bf3a68c67e55237fbf404 /chrome/browser/printing/print_job.cc | |
parent | 41cea7ac73afdc41854ddab97f8f1b00541e603d (diff) | |
download | chromium_src-5686b177b4c9de40440ccd60546529b8a4522cd1.zip chromium_src-5686b177b4c9de40440ccd60546529b8a4522cd1.tar.gz chromium_src-5686b177b4c9de40440ccd60546529b8a4522cd1.tar.bz2 |
Revert 201202 "base: Support setting thread priorities generically."
Broke "sizes" by adding may static initializers.
> base: Support setting thread priorities generically.
>
> This patch supports setting priorities across platforms
> at the PlatformThread level, by stashing thread id into the
> thread handle on linux/android.
>
> Since this adds more platform specific code, and #ifdefs
> were starting to get unwieldy, all platform specific code
> is moved into _platform.cc files, with the exception of the
> 'default' implementation, which stay in _posix.
>
> BUG=170549
>
> Review URL: https://chromiumcodereview.appspot.com/12741012
TBR=epenner@chromium.org
Review URL: https://codereview.chromium.org/15311004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201215 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/printing/print_job.cc')
-rw-r--r-- | chrome/browser/printing/print_job.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/printing/print_job.cc b/chrome/browser/printing/print_job.cc index 6c91282..13cb4ca 100644 --- a/chrome/browser/printing/print_job.cc +++ b/chrome/browser/printing/print_job.cc @@ -331,7 +331,7 @@ void PrintJob::ControlledWorkerShutdown() { // - We don't want to run tasks while the thread is quitting. // - We want this code path to wait on the thread to quit before continuing. MSG msg; - HANDLE thread_handle = worker_->thread_handle().platform_handle(); + HANDLE thread_handle = worker_->thread_handle(); for (; thread_handle;) { // Note that we don't do any kind of message prioritization since we don't // execute any pending task or timer. |