Summary: | PDFPlugin: Context menus in RTL are left-aligned | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||
Component: | New Bugs | Assignee: | Tim Horton <thorton> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | aestes, commit-queue, simon.fraser, wenson_hsieh | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Tim Horton
2018-08-02 17:20:00 PDT
Created attachment 346434 [details]
Patch
Comment on attachment 346434 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=346434&action=review > Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm:1610 > + auto itemCount = [nsMenu numberOfItems]; > + for (int i = 0; i < itemCount; i++) { auto considered harmful: are you going to get signed/unsigned comparison warnings here or not? > Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm:1619 > + std::optional<int> selectedIndex = -1; optional<> but init with -1? Why not optional<optional<>> (j/k) Comment on attachment 346434 [details] Patch Clearing flags on attachment: 346434 Committed r234530: <https://trac.webkit.org/changeset/234530> All reviewed patches have been landed. Closing bug. |