diff --git src/3rdparty/chromium/third_party/blink/renderer/core/editing/finder/text_finder.cc src/3rdparty/chromium/third_party/blink/renderer/core/editing/finder/text_finder.cc
index e41a894fc..be79bf7cf 100644
|
|
gfx::RectF TextFinder::ActiveFindMatchRect() { |
629 | 629 | if (!current_active_match_frame_ || !active_match_) |
630 | 630 | return gfx::RectF(); |
631 | 631 | |
632 | | return gfx::RectF(FindInPageRectFromRange(EphemeralRange(ActiveMatch()))); |
| 632 | // return gfx::RectF(FindInPageRectFromRange(EphemeralRange(ActiveMatch()))); |
| 633 | CGRect r = FindInPageRectFromRange(EphemeralRange(ActiveMatch())); |
| 634 | return gfx::RectF(r); |
| 635 | |
633 | 636 | } |
634 | 637 | |
635 | 638 | Vector<gfx::RectF> TextFinder::FindMatchRects() { |
… |
… |
Vector<gfx::RectF> TextFinder::FindMatchRects() { |
639 | 642 | match_rects.ReserveCapacity(match_rects.size() + find_matches_cache_.size()); |
640 | 643 | for (const FindMatch& match : find_matches_cache_) { |
641 | 644 | DCHECK(!match.rect_.IsEmpty()); |
642 | | match_rects.push_back(match.rect_); |
| 645 | // match_rects.push_back(match.rect_); |
| 646 | CGRect r = match.rect_; |
| 647 | match_rects.push_back(r); |
| 648 | |
643 | 649 | } |
644 | 650 | |
645 | 651 | return match_rects; |
diff --git src/3rdparty/chromium/third_party/blink/renderer/core/paint/paint_timing_detector.cc src/3rdparty/chromium/third_party/blink/renderer/core/paint/paint_timing_detector.cc
index 48d06120e..e7963b327 100644
|
|
FloatRect PaintTimingDetector::BlinkSpaceToDIPs( |
320 | 320 | // May be nullptr in tests. |
321 | 321 | if (!widget) |
322 | 322 | return float_rect; |
323 | | return FloatRect(widget->BlinkSpaceToDIPs(gfx::RectF(float_rect))); |
| 323 | // return FloatRect(widget->BlinkSpaceToDIPs(gfx::RectF(float_rect))); |
| 324 | CGRect r = float_rect; |
| 325 | return FloatRect(widget->BlinkSpaceToDIPs(gfx::RectF(r))); |
324 | 326 | } |
325 | 327 | |
326 | 328 | FloatRect PaintTimingDetector::CalculateVisualRect( |
diff --git src/3rdparty/chromium/third_party/blink/renderer/modules/exported/web_ax_object.cc src/3rdparty/chromium/third_party/blink/renderer/modules/exported/web_ax_object.cc
index f7a348c81..45de8d332 100644
|
|
void WebAXObject::GetRelativeBounds(WebAXObject& offset_container, |
1480 | 1480 | private_->GetRelativeBounds(&container, bounds, container_transform, |
1481 | 1481 | clips_children); |
1482 | 1482 | offset_container = WebAXObject(container); |
1483 | | bounds_in_container = gfx::RectF(bounds); |
| 1483 | //bounds_in_container = gfx::RectF(bounds); |
| 1484 | CGRect r = bounds; |
| 1485 | bounds_in_container = gfx::RectF(r); |
1484 | 1486 | } |
1485 | 1487 | |
1486 | 1488 | void WebAXObject::GetAllObjectsWithChangedBounds( |