|
|
DescriptionCheck frame for nullptr in AutoscrollController::animate
BUG=361036
Committed: https://crrev.com/2f5ef2c20478b1c51bcde14129e3cfe3f9d2620c
Cr-Commit-Position: refs/heads/master@{#417280}
Patch Set 1 #Patch Set 2 : Complete the solution #Patch Set 3 : Complete the solution #Patch Set 4 : Complete the solution #
Total comments: 1
Messages
Total messages: 28 (22 generated)
The CQ bit was checked by sunyunjia@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: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by sunyunjia@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: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by sunyunjia@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: Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...)
The CQ bit was checked by sunyunjia@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.
Description was changed from ========== Check nullptr for frame in AutoscrollController::animate BUG=361036 ========== to ========== Check nullptr for frame in AutoscrollController::animate BUG=361036 ==========
sunyunjia@chromium.org changed reviewers: + bokan@chromium.org, dtapuska@chromium.org
PTAL, Thanks!
lgtm In the description, "check nullptr for frame" should be "check frame for nullptr"
Description was changed from ========== Check nullptr for frame in AutoscrollController::animate BUG=361036 ========== to ========== Check frame for nullptr in AutoscrollController::animate BUG=361036 ==========
The CQ bit was checked by sunyunjia@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 ========== Check frame for nullptr in AutoscrollController::animate BUG=361036 ========== to ========== Check frame for nullptr in AutoscrollController::animate BUG=361036 ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== Check frame for nullptr in AutoscrollController::animate BUG=361036 ========== to ========== Check frame for nullptr in AutoscrollController::animate BUG=361036 Committed: https://crrev.com/2f5ef2c20478b1c51bcde14129e3cfe3f9d2620c Cr-Commit-Position: refs/heads/master@{#417280} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/2f5ef2c20478b1c51bcde14129e3cfe3f9d2620c Cr-Commit-Position: refs/heads/master@{#417280}
Message was sent while issue was closed.
https://codereview.chromium.org/2316113003/diff/60001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/page/AutoscrollController.cpp (left): https://codereview.chromium.org/2316113003/diff/60001/third_party/WebKit/Sour... third_party/WebKit/Source/core/page/AutoscrollController.cpp:244: EventHandler& eventHandler = m_autoscrollLayoutObject->frame()->eventHandler(); I was kind of anticipating a change like LocalFrame* frame = m_autoscrollLayoutObject->frame(); if (!frame) { stopAutoscroll(); return; } ... I think this can still cause a crash on line: https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/page/Auto... whereas the way I was thinking it wouldn't. Sorry for my delay on the review. |