commit | 5b8fb7ccd2d4c4837d5d6d4eda7dead886d9f24a | [log] [tgz] |
---|---|---|
author | Shimi Zhang <[email protected]> | Thu Sep 27 01:20:49 2018 |
committer | Commit Bot <[email protected]> | Thu Sep 27 01:20:49 2018 |
tree | 4e78c85080f9ff52078ddfd3d41a28950f0980a2 | |
parent | 867eb8078068308ce3562339254727df9b011565 [diff] |
[Printing] Remove dependency on raw fd in PrintingContext In PrintingContext, we rely on raw file descriptor to figure out which PrintingContext is responsible for current task. The ultimate goal was to figure out which PrintingController that PrintingContext is talking to. But since PrintingControllerImpl is a singleton, every PrintingContext is associated with the same PrintingController. So there is no need to use the raw file descriptor to distinguish between PrintingControllers. This CL removes the dependency on raw fd, in preparation for fixing double ParcelFileDescriptor closing issue (http://crrev/c/1244803). Bug: 882608 Change-Id: Ic3b7496661c913c028a86c7c2cd5e853a98a83a2 Reviewed-on: https://chromium-review.googlesource.com/1244832 Commit-Queue: Shimi Zhang <[email protected]> Reviewed-by: Changwan Ryu <[email protected]> Reviewed-by: Lei Zhang <[email protected]> Cr-Commit-Position: refs/heads/master@{#594553}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .