Commit a8778d0
Olivier Robin
Fix call to ReadingListDownloadService::CleanUpFiles.
If the application is shutting down, the task may run on a shutdowned
service.
Make the call static (so it does not need the service) and mark it
SKIP_ON_SHUTDOWN.
Also mark it USER_VISIBLE as it delays the offline feature of ReadingList.
[email protected]
(cherry picked from commit a859436)
Bug: 762577
Change-Id: I05acf8e58b4dcdf9d21d5ee7e3f352d48f76f699
Reviewed-on: https://chromium-review.googlesource.com/654860
Commit-Queue: Olivier Robin <[email protected]>
Reviewed-by: Sylvain Defresne <[email protected]>
Cr-Original-Commit-Position: refs/heads/master@{#500592}
Reviewed-on: https://chromium-review.googlesource.com/668539
Reviewed-by: Olivier Robin <[email protected]>
Cr-Commit-Position: refs/branch-heads/3202@{crosswalk-project#249}
Cr-Branched-From: fa6a5d8-refs/heads/master@{#499098}1 parent 65e8108 commit a8778d0
File tree
2 files changed
+21
-21
lines changed- ios/chrome/browser/reading_list
2 files changed
+21
-21
lines changedLines changed: 21 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
43 | 60 | | |
44 | 61 | | |
45 | 62 | | |
| |||
146 | 163 | | |
147 | 164 | | |
148 | 165 | | |
149 | | - | |
150 | | - | |
151 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
152 | 170 | | |
153 | 171 | | |
154 | 172 | | |
155 | 173 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | 174 | | |
171 | 175 | | |
172 | 176 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 73 | | |
78 | 74 | | |
79 | 75 | | |
| |||
0 commit comments