|
|
Chromium Code Reviews|
Created:
4 years, 2 months ago by Yeol Park Modified:
4 years, 2 months ago CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionClean up NavigationControllerImpl::IsURLInPageNavigation
IsURLInPageNavigation was incorrectly being called twice. This led to
duplicate attempts to try to kill the renderer process when it failed,
and it ran in slightly different states each time. This CL ensures we
only call it once in the correct state.
BUG=618104
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/1b0f797b91e108f96e75fc668a12b194b30b640e
Cr-Commit-Position: refs/heads/master@{#421557}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Clean up NavigationControllerImpl::IsURLInPageNavigation #
Messages
Total messages: 27 (17 generated)
Description was changed from ========== Clean up NavigationControllerImpl::IsURLInPageNavigation Modified for once call NavigationControllerImpl::IsURLInPageNavigation in NavigatorImpl::DidNavigate. IsURLInPageNavigation do not call in NavigationControllerImpl::RendererDidNavigate. then use 'is_navigation_within_page' variable that was already in use NavigatorImpl::DidNavigate. BUG=618104 ========== to ========== Clean up NavigationControllerImpl::IsURLInPageNavigation Modified for once call NavigationControllerImpl::IsURLInPageNavigation in NavigatorImpl::DidNavigate. IsURLInPageNavigation do not call in NavigationControllerImpl::RendererDidNavigate. then use 'is_navigation_within_page' variable that was already in use NavigatorImpl::DidNavigate. BUG=618104 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
Description was changed from ========== Clean up NavigationControllerImpl::IsURLInPageNavigation Modified for once call NavigationControllerImpl::IsURLInPageNavigation in NavigatorImpl::DidNavigate. IsURLInPageNavigation do not call in NavigationControllerImpl::RendererDidNavigate. then use 'is_navigation_within_page' variable that was already in use NavigatorImpl::DidNavigate. BUG=618104 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== Clean up NavigationControllerImpl::IsURLInPageNavigation Modified for once call NavigationControllerImpl::IsURLInPageNavigation in NavigatorImpl::DidNavigate. IsURLInPageNavigation do not call in NavigationControllerImpl::RendererDidNavigate. then use 'is_navigation_within_page' variable that was already in use NavigatorImpl::DidNavigate. BUG=618104 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
peary2@gmail.com changed reviewers: + jinho.bang@samsung.com
The CQ bit was checked by jinho.bang@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
peary2@gmail.com changed reviewers: + avi@chromium.org
PTAL
avi@chromium.org changed reviewers: + creis@chromium.org
Charlie, this looks reasonable to me. WDYT?
Thanks-- this looks good. A few style corrections (which git cl format can handle), and you should be set. https://codereview.chromium.org/2376643002/diff/1/AUTHORS File AUTHORS (right): https://codereview.chromium.org/2376643002/diff/1/AUTHORS#newcode757 AUTHORS:757: Yeol Park <peary2@gmail.com> Great, thanks for signing the CLA. https://codereview.chromium.org/2376643002/diff/1/content/browser/frame_host/... File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/2376643002/diff/1/content/browser/frame_host/... content/browser/frame_host/navigation_controller_impl.cc:775: LoadCommittedDetails* details, bool is_navigation_within_page) { Style nit: Move to next line. https://codereview.chromium.org/2376643002/diff/1/content/browser/frame_host/... File content/browser/frame_host/navigation_controller_impl.h (right): https://codereview.chromium.org/2376643002/diff/1/content/browser/frame_host/... content/browser/frame_host/navigation_controller_impl.h:152: LoadCommittedDetails* details, bool is_navigation_within_page); Style nit: For function declarations, if all parameters don't fit on one line, they should each be on their own line. https://codereview.chromium.org/2376643002/diff/1/content/browser/frame_host/... File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/2376643002/diff/1/content/browser/frame_host/... content/browser/frame_host/navigator_impl.cc:570: params, &details, is_navigation_within_page); Style nit: Wrong indent. I recommend using "git cl format" to automatically handle issues like these.
Patch set update for Style nit. used to 'git cl format' PTAL
Thanks, LGTM. I'll run try jobs for it and I'll land it tomorrow if they pass.
The CQ bit was checked by creis@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
looks good but should update CL description. As per the chromium style guide, each line should be less than 80byte. Could you please update it?
Description was changed from ========== Clean up NavigationControllerImpl::IsURLInPageNavigation Modified for once call NavigationControllerImpl::IsURLInPageNavigation in NavigatorImpl::DidNavigate. IsURLInPageNavigation do not call in NavigationControllerImpl::RendererDidNavigate. then use 'is_navigation_within_page' variable that was already in use NavigatorImpl::DidNavigate. BUG=618104 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== Clean up NavigationControllerImpl::IsURLInPageNavigation IsURLInPageNavigation was incorrectly being called twice. This led to duplicate attempts to try to kill the renderer process when it failed, and it ran in slightly different states each time. This CL ensures we only call it once in the correct state. BUG=618104 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
On 2016/09/28 14:50:47, zino wrote: > looks good but should update CL description. > As per the chromium style guide, each line should be less than 80byte. > Could you please update it? Thanks for catching! The CL description should really be more about *why* the change is made (and what effect it has), rather than just restating what changed. I've rephrased it.
The CQ bit was checked by creis@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Clean up NavigationControllerImpl::IsURLInPageNavigation IsURLInPageNavigation was incorrectly being called twice. This led to duplicate attempts to try to kill the renderer process when it failed, and it ran in slightly different states each time. This CL ensures we only call it once in the correct state. BUG=618104 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== Clean up NavigationControllerImpl::IsURLInPageNavigation IsURLInPageNavigation was incorrectly being called twice. This led to duplicate attempts to try to kill the renderer process when it failed, and it ran in slightly different states each time. This CL ensures we only call it once in the correct state. BUG=618104 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Clean up NavigationControllerImpl::IsURLInPageNavigation IsURLInPageNavigation was incorrectly being called twice. This led to duplicate attempts to try to kill the renderer process when it failed, and it ran in slightly different states each time. This CL ensures we only call it once in the correct state. BUG=618104 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== Clean up NavigationControllerImpl::IsURLInPageNavigation IsURLInPageNavigation was incorrectly being called twice. This led to duplicate attempts to try to kill the renderer process when it failed, and it ran in slightly different states each time. This CL ensures we only call it once in the correct state. BUG=618104 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/1b0f797b91e108f96e75fc668a12b194b30b640e Cr-Commit-Position: refs/heads/master@{#421557} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/1b0f797b91e108f96e75fc668a12b194b30b640e Cr-Commit-Position: refs/heads/master@{#421557} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
