830ededbbf1af5db8bf424ac8466dc248c7b5356

The user-desired Windows color settings are getting lost when doing PrintingContextWin::UpdatePrinterSettings(). This is due to the color settings getting ignored by the GDI DocumentProperties() call made from CreateDevMode(). The resulting default color setting provided from GDI ends up propagating through to PrintSettingsInitializerWin::InitPrintSettings(). Correct for this by patching the requested color settings into the resulting DEVMODE structure after CreateDevMode() (as opposed to before like for all the other supplied settings). Bug: 789538 Change-Id: I2c4597dba10051150f92baf361103343c1249066 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2107575 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Alan Screen <awscreen@chromium.org> Cr-Commit-Position: refs/heads/master@{#751398}
…
…
Chromium
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 .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
Description
Chromium是一个开源浏览器项目,提供了一种安全、快速、稳定的方法来体验Web。该浏览器可以在多个平台上下载,包括Mac、Windows、Linux和ChromiumOS。项目原始地址: https://chromium.googlesource.com/chromium/src.git
https://www.mobibrw.com/gitea-mirrors/chromium/src.git
Languages
C++
74.4%
Java
8.2%
Objective-C++
4.6%
TypeScript
4%
Python
2.5%
Other
6.1%