| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
/*use_outermost_main_frame_check=*/web_contents_discard_enabled);
AttemptFastKillForDiscardResult result =Please fix this WARNING reported by ClangTidy: check: bugprone-argument-comment
argument name 'use_outermost_main_frame_check'...
check: bugprone-argument-comment
argument name 'use_outermost_main_frame_check' in comment does not match parameter name 'ignore_pending_reuse' (https://clang.llvm.org/extra/clang-tidy/checks/bugprone/argument-comment.html)
(Note: You can add `Skip-Clang-Tidy-Checks: bugprone-argument-comment` footer to the CL description to skip the check)
(Lint observed on `android-clang-tidy-rel`, but not on `linux-clang-tidy-rel`)
/*use_outermost_main_frame_check=*/web_contents_discard_enabled)) {ditto.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
/*use_outermost_main_frame_check=*/web_contents_discard_enabled);
AttemptFastKillForDiscardResult result =Please fix this WARNING reported by ClangTidy: check: bugprone-argument-comment
argument name 'use_outermost_main_frame_check'...
check: bugprone-argument-comment
argument name 'use_outermost_main_frame_check' in comment does not match parameter name 'ignore_pending_reuse' (https://clang.llvm.org/extra/clang-tidy/checks/bugprone/argument-comment.html)
(Note: You can add `Skip-Clang-Tidy-Checks: bugprone-argument-comment` footer to the CL description to skip the check)
(Lint observed on `android-clang-tidy-rel`, but not on `linux-clang-tidy-rel`)
Done
/*use_outermost_main_frame_check=*/web_contents_discard_enabled)) {Tom Lukaszewiczditto.
Forgot to update this for the new param that was added - thanks for the catch.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
3 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: chrome/browser/resource_coordinator/utils.cc
Insertions: 3, Deletions: 3.
@@ -47,7 +47,7 @@
/*skip_unload_handlers=*/false,
/*ignore_workers=*/false,
/*ignore_keep_alive=*/false,
- /*ignore_pending_reuse=*/false);
+ /*ignore_pending_reuse=*/false,
/*use_outermost_main_frame_check=*/web_contents_discard_enabled);
AttemptFastKillForDiscardResult result =
succeed ? AttemptFastKillForDiscardResult::kKilled
@@ -67,15 +67,15 @@
1u, /*skip_unload_handlers=*/true,
/*ignore_workers=*/should_ignore_workers,
/*ignore_keep_alive=*/false,
- /*ignore_pending_reuse=*/false)) {
+ /*ignore_pending_reuse=*/false,
/*use_outermost_main_frame_check=*/web_contents_discard_enabled)) {
result =
should_ignore_workers
? AttemptFastKillForDiscardResult::
kKilledWithoutUnloadHandlersAndWorkers
: AttemptFastKillForDiscardResult::kKilledWithoutUnloadHandlers;
- }
}
+ }
#endif
base::UmaHistogramEnumeration("Discarding.AttemptFastKillForDiscardResult",
result);
```
[discard] Set single_outermost_main_frame for WebContentsDiscard
Reland of crrev.com/c/7205447 - no changes.
This CL updates AttemptFastKillForDiscard() to set the
single_outermost_main_frame param for FastShutdownIfPossible() when
running the WebContentsDiscard experiment.
This param allows fast-kills in the case where all frames resident
in a process belong to a single WebContents, vs page_count which
checks for RenderWidgetHost counts (all of which may belong to
a single tab but add to a count greater than 0).
This CL affects behavior only when running WebContentsDiscard
(behavior is unchanged otherwise).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |