Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d2a7afb940a10cd9a2fc90d77fbd50ae12cb01ac
https://github.com/WebKit/WebKit/commit/d2a7afb940a10cd9a2fc90d77fbd50ae12cb01ac
Author: Ahmad Saleem <[email protected]>
Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths:
M Source/WebCore/platform/graphics/FloatSize.cpp
M Source/WebCore/platform/graphics/FloatSize.h
Log Message:
-----------
Inline FloatSize::FloatSize(WebCore::IntSize& const) constructor
Inline FloatSize::FloatSize(WebCore::IntSize& const) constructor
https://bugs.webkit.org/show_bug.cgi?id=250655
rdar://problem/104536651
Reviewed by Alan Baradlay.
Merge -
https://chromium.googlesource.com/chromium/blink/+/8ef1d2d2935beef0baf377ee37b76f584b4db631
This patch is potential optimization for scrollview code calling IntSize by
inlining constructor.
* Source/WebCore/platform/graphics/FloatSize.cpp:
(FloatSize:FloatSize): Remove 'IntSize' constructor function
* Source/WebCore/platform/graphics/FloatSize.h: Inline 'FloatSize' constructor
Canonical link: https://commits.webkit.org/259693@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes