Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Issue 2172153002: Move FrameLoader completion check timer to loading task runner. (Closed)

Created:
4 years, 5 months ago by dcheng
Modified:
4 years, 4 months ago
CC:
chromium-reviews, blink-reviews, loading-reviews_chromium.org, tyoshino+watch_chromium.org, Nate Chapin, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move FrameLoader completion check timer to loading task runner. WebFrameScheduler is also no longer lazily created: this avoids problems with the frame scheduler being unexpectedly recreated during frame detach, which often leads to use-after-frees. BUG=624694 Committed: https://crrev.com/587adda57c8c304adcd080b5f1d6bad49ce588fd Cr-Commit-Position: refs/heads/master@{#407767}

Patch Set 1 #

Patch Set 2 : Don't lazy create the frame scheduler #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -14 lines) Patch
M third_party/WebKit/Source/core/frame/LocalFrame.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 5 chunks +2 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/Timer.h View 2 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 31 (18 generated)
dcheng
4 years, 5 months ago (2016-07-22 07:04:16 UTC) #4
dcheng
+haraken for platform changes.
4 years, 5 months ago (2016-07-22 07:04:40 UTC) #6
haraken
On 2016/07/22 07:04:40, dcheng wrote: > +haraken for platform changes. LGTM on my side.
4 years, 5 months ago (2016-07-22 07:10:09 UTC) #7
dcheng
Hmm, it appears this makes some tests unhappy. Investigating...
4 years, 5 months ago (2016-07-22 07:46:37 UTC) #10
alex clarke (OOO till 29th)
Let me know when the tests are happy and I'll take a look.
4 years, 5 months ago (2016-07-22 09:37:37 UTC) #11
dcheng
I poked at this a bit more today, focusing on the unit tests first. The ...
4 years, 4 months ago (2016-07-25 15:51:06 UTC) #12
alex clarke (OOO till 29th)
On 2016/07/25 15:51:06, dcheng wrote: > I poked at this a bit more today, focusing ...
4 years, 4 months ago (2016-07-25 16:06:06 UTC) #15
dcheng
Alright, (at least one of the) other issues is due to a use-after-free of the ...
4 years, 4 months ago (2016-07-26 09:17:44 UTC) #16
dcheng
Well, it looks like not lazily creating the scheduler fixes all the problems (including the ...
4 years, 4 months ago (2016-07-26 11:05:31 UTC) #21
alex clarke (OOO till 29th)
On 2016/07/26 11:05:31, dcheng wrote: > Well, it looks like not lazily creating the scheduler ...
4 years, 4 months ago (2016-07-26 11:11:06 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2172153002/20001
4 years, 4 months ago (2016-07-26 11:13:52 UTC) #27
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-26 11:17:07 UTC) #29
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 11:19:27 UTC) #31
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/587adda57c8c304adcd080b5f1d6bad49ce588fd
Cr-Commit-Position: refs/heads/master@{#407767}

Powered by Google App Engine
This is Rietveld 408576698