Chromium Code Reviews
DescriptionFix an issue that PrerenderLoader::OnPrerenderStart() never gets called.
When calling PrerenderManager::AddPrerenderForOffline(),
OnPrerenderStart() is get called inside it.
Since the observer is not yet added to active_handle_, PrerenderLoader will miss the call.
This CL fixes the issue.
BUG=648789
Committed: https://crrev.com/13b0778d13de1e5c0afe784792ad6709b2f5ffad
Cr-Commit-Position: refs/heads/master@{#420200}
Patch Set 1 #
Total comments: 3
Patch Set 2 : remove OnPrerenderStarted #
Total comments: 4
Patch Set 3 : fix tests #Patch Set 4 : nits #
Messages
Total messages: 27 (15 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||