[webkit-changes] [WebKit/WebKit] d2a7af: Inline FloatSize::FloatSize(WebCore::IntSize& cons...
Ahmad Saleem
noreply at github.com
Wed Feb 1 09:48:18 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d2a7afb940a10cd9a2fc90d77fbd50ae12cb01ac
https://github.com/WebKit/WebKit/commit/d2a7afb940a10cd9a2fc90d77fbd50ae12cb01ac
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
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
More information about the webkit-changes
mailing list