mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 127.0.6533.0 (#1313161)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
diff --git ui/display/screen.cc ui/display/screen.cc
|
||||
index 22747ebcf31c0..8fba5da85a656 100644
|
||||
index 3090a05e91f31..7fac1b23ffb62 100644
|
||||
--- ui/display/screen.cc
|
||||
+++ ui/display/screen.cc
|
||||
@@ -107,13 +107,13 @@ base::TimeDelta Screen::CalculateIdleTime() const {
|
||||
@@ -108,13 +108,13 @@ base::TimeDelta Screen::CalculateIdleTime() const {
|
||||
gfx::Rect Screen::ScreenToDIPRectInWindow(gfx::NativeWindow window,
|
||||
const gfx::Rect& screen_rect) const {
|
||||
float scale = GetDisplayNearestWindow(window).device_scale_factor();
|
||||
@@ -19,10 +19,10 @@ index 22747ebcf31c0..8fba5da85a656 100644
|
||||
|
||||
bool Screen::GetDisplayWithDisplayId(int64_t display_id,
|
||||
diff --git ui/display/win/screen_win.cc ui/display/win/screen_win.cc
|
||||
index 3a9a310328aa3..d4c4a9947c1d9 100644
|
||||
index 2027612f9207a..6f0ebb0801e60 100644
|
||||
--- ui/display/win/screen_win.cc
|
||||
+++ ui/display/win/screen_win.cc
|
||||
@@ -544,7 +544,7 @@ gfx::Rect ScreenWin::ScreenToDIPRect(HWND hwnd, const gfx::Rect& pixel_bounds) {
|
||||
@@ -601,7 +601,7 @@ gfx::Rect ScreenWin::ScreenToDIPRect(HWND hwnd, const gfx::Rect& pixel_bounds) {
|
||||
gfx::PointF(pixel_bounds.origin()), screen_win_display));
|
||||
const float scale_factor =
|
||||
1.0f / screen_win_display.display().device_scale_factor();
|
||||
@@ -31,7 +31,7 @@ index 3a9a310328aa3..d4c4a9947c1d9 100644
|
||||
}
|
||||
|
||||
// static
|
||||
@@ -559,7 +559,7 @@ gfx::Rect ScreenWin::DIPToScreenRect(HWND hwnd, const gfx::Rect& dip_bounds) {
|
||||
@@ -616,7 +616,7 @@ gfx::Rect ScreenWin::DIPToScreenRect(HWND hwnd, const gfx::Rect& dip_bounds) {
|
||||
const gfx::Point origin =
|
||||
display::win::DIPToScreenPoint(dip_bounds.origin(), screen_win_display);
|
||||
const float scale_factor = screen_win_display.display().device_scale_factor();
|
||||
|
Reference in New Issue
Block a user