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

Issue 1883023004: Reader Mode triggers after tab crash (Closed)

Created:
4 years, 8 months ago by mdjones
Modified:
4 years, 8 months ago
Reviewers:
wychen
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@distillability-mojo
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reader Mode triggers after tab crash After a tab crashes, the IPC pipe is invalidated. This removes the binding to create the receiving end of the distillability service. This change re-adds the binding after each navigation event. BUG=603673 Committed: https://crrev.com/a5e2d57e31704b582b35eaf4577850ba97d0b9e2 Cr-Commit-Position: refs/heads/master@{#387798}

Patch Set 1 #

Total comments: 2

Patch Set 2 : nit #

Total comments: 2

Patch Set 3 : different lifecycle #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -17 lines) Patch
M components/dom_distiller/content/browser/distillability_driver.h View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M components/dom_distiller/content/browser/distillability_driver.cc View 1 2 2 chunks +15 lines, -12 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 19 (8 generated)
mdjones
ptal
4 years, 8 months ago (2016-04-14 20:13:17 UTC) #2
wychen
lgtm https://codereview.chromium.org/1883023004/diff/1/components/dom_distiller/content/browser/distillability_driver.cc File components/dom_distiller/content/browser/distillability_driver.cc (right): https://codereview.chromium.org/1883023004/diff/1/components/dom_distiller/content/browser/distillability_driver.cc#newcode49 components/dom_distiller/content/browser/distillability_driver.cc:49: content::WebContentsObserver::Observe(NULL); nit: nullptr It's my fault though.
4 years, 8 months ago (2016-04-14 20:41:25 UTC) #3
mdjones
https://codereview.chromium.org/1883023004/diff/1/components/dom_distiller/content/browser/distillability_driver.cc File components/dom_distiller/content/browser/distillability_driver.cc (right): https://codereview.chromium.org/1883023004/diff/1/components/dom_distiller/content/browser/distillability_driver.cc#newcode49 components/dom_distiller/content/browser/distillability_driver.cc:49: content::WebContentsObserver::Observe(NULL); On 2016/04/14 20:41:25, wychen wrote: > nit: nullptr ...
4 years, 8 months ago (2016-04-15 00:29:45 UTC) #4
wychen
https://codereview.chromium.org/1883023004/diff/20001/components/dom_distiller/content/browser/distillability_driver.cc File components/dom_distiller/content/browser/distillability_driver.cc (right): https://codereview.chromium.org/1883023004/diff/20001/components/dom_distiller/content/browser/distillability_driver.cc#newcode47 components/dom_distiller/content/browser/distillability_driver.cc:47: web_contents()->GetMainFrame()->GetServiceRegistry() Would web_cotents() always be nullptr here? If the ...
4 years, 8 months ago (2016-04-15 06:22:21 UTC) #5
mdjones
https://codereview.chromium.org/1883023004/diff/20001/components/dom_distiller/content/browser/distillability_driver.cc File components/dom_distiller/content/browser/distillability_driver.cc (right): https://codereview.chromium.org/1883023004/diff/20001/components/dom_distiller/content/browser/distillability_driver.cc#newcode47 components/dom_distiller/content/browser/distillability_driver.cc:47: web_contents()->GetMainFrame()->GetServiceRegistry() On 2016/04/15 06:22:21, wychen wrote: > Would web_cotents() ...
4 years, 8 months ago (2016-04-15 21:04:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1883023004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1883023004/40001
4 years, 8 months ago (2016-04-15 21:22:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1883023004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1883023004/40001
4 years, 8 months ago (2016-04-15 21:37:31 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/54747)
4 years, 8 months ago (2016-04-16 00:59:32 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1883023004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1883023004/40001
4 years, 8 months ago (2016-04-16 01:03:58 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-16 02:38:39 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-16 02:39:46 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a5e2d57e31704b582b35eaf4577850ba97d0b9e2
Cr-Commit-Position: refs/heads/master@{#387798}

Powered by Google App Engine
This is Rietveld 408576698