Bug 199911 - Fix 32-bit watchOS build
Summary: Fix 32-bit watchOS build
Status: RESOLVED DUPLICATE of bug 199840
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Keith Rollin
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-07-18 10:45 PDT by Keith Rollin
Modified: 2021-11-04 11:39 PDT (History)
4 users (show)

See Also:


Attachments
Patch (2.06 KB, patch)
2019-07-18 10:47 PDT, Keith Rollin
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Rollin 2019-07-18 10:45:03 PDT
RenderLayerCompositor.cpp contains the line

    auto overflowScrollNodeID = 0;

This will overflowScrollNodeID a type of 'int', and can be 32-bit in some builds. However, later in the function, overflowScrollNodeID is used in contexts that expect a ScrollingNodeID, which is a 64-bit value. The mismatch can lead to a build error. Fix this by explicitly giving overflowScrollNodeID the desired type.
Comment 1 Radar WebKit Bug Importer 2019-07-18 10:45:21 PDT
<rdar://problem/53261714>
Comment 2 Keith Rollin 2019-07-18 10:47:58 PDT
Created attachment 374396 [details]
Patch
Comment 3 Wenson Hsieh 2019-07-18 11:00:50 PDT

*** This bug has been marked as a duplicate of bug 199840 ***