[Webkit-unassigned] [Bug 100018] New: Remove unnecessary m_layoutDelta[XY]Saturated initialization
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 22 13:12:41 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=100018
Summary: Remove unnecessary m_layoutDelta[XY]Saturated
initialization
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eae at chromium.org
CC: simon.fraser at apple.com
>From comment on bug 98692:
> Source/WebCore/rendering/LayoutState.cpp:43
> +#if !ASSERT_DISABLED && ENABLE(SATURATED_LAYOUT_ARITHMETIC)
> + , m_layoutDeltaXSaturated(false)
> + , m_layoutDeltaYSaturated(false)
> +#endif
Why initialize these here since they are unconditionally set in the function body below? This makes things more ugly for no real reason.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list