Bug 197681 - WEBCORE_EXPORT shouldn't be on the class and its methods
Summary: WEBCORE_EXPORT shouldn't be on the class and its methods
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Don Olmstead
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-05-07 17:35 PDT by Don Olmstead
Modified: 2019-05-08 13:33 PDT (History)
10 users (show)

See Also:


Attachments
Patch (2.64 KB, patch)
2019-05-07 17:39 PDT, Don Olmstead
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews213 for win-future (13.80 MB, application/zip)
2019-05-07 20:16 PDT, EWS Watchlist
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Don Olmstead 2019-05-07 17:35:32 PDT
ScrollingTreeFrameScrollingNode and ScrollingTreeScrollingNode have WEBCORE_EXPORT on the class and on some of its methods.
Comment 1 Don Olmstead 2019-05-07 17:39:54 PDT
Created attachment 369341 [details]
Patch
Comment 2 EWS Watchlist 2019-05-07 17:42:36 PDT
Attachment 369341 [details] did not pass style-queue:


ERROR: Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.h:107:  Inline functions should not be in classes annotated with WEBCORE_EXPORT. Remove the macro from the class and apply it to each appropriate method, or move the inline function definition out-of-line.  [build/webcore_export] [4]
ERROR: Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.h:108:  Inline functions should not be in classes annotated with WEBCORE_EXPORT. Remove the macro from the class and apply it to each appropriate method, or move the inline function definition out-of-line.  [build/webcore_export] [4]
Total errors found: 2 in 3 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 EWS Watchlist 2019-05-07 20:16:41 PDT
Comment on attachment 369341 [details]
Patch

Attachment 369341 [details] did not pass win-ews (win):
Output: https://webkit-queues.webkit.org/results/12129517

New failing tests:
security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star.html
Comment 4 EWS Watchlist 2019-05-07 20:16:43 PDT
Created attachment 369353 [details]
Archive of layout-test-results from ews213 for win-future

The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: ews213  Port: win-future  Platform: CYGWIN_NT-10.0-17763-3.0.5-338.x86_64-x86_64-64bit
Comment 5 Frédéric Wang (:fredw) 2019-05-08 08:24:31 PDT
> Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.h:  Inline functions should not be in classes annotated with WEBCORE_EXPORT. Remove the macro from the class and apply it to each appropriate method, or move the inline function definition out-of-line.

So it looks these functions shouldn't have been inline or that WEBCORE_EXPORT shouldn't have been on the class.

@smfr: An idea?
Comment 6 Simon Fraser (smfr) 2019-05-08 09:35:55 PDT
I've taken to just ignoring these warnings.
Comment 7 Don Olmstead 2019-05-08 09:48:16 PDT
Comment on attachment 369341 [details]
Patch

Then r+?
Comment 8 WebKit Commit Bot 2019-05-08 13:32:30 PDT
Comment on attachment 369341 [details]
Patch

Clearing flags on attachment: 369341

Committed r245066: <https://trac.webkit.org/changeset/245066>
Comment 9 WebKit Commit Bot 2019-05-08 13:32:32 PDT
All reviewed patches have been landed.  Closing bug.
Comment 10 Radar WebKit Bug Importer 2019-05-08 13:33:20 PDT
<rdar://problem/50594144>