Commit 4b50559
Yi Su
Cast find_in_page.js return value from id to NSString.
Currently JsFindinpageManager passes the result of find_in_page.js to
base::SysNSStringToUTF8 with "id" type. This CL casts it to NSString
to prevent it from crashing the APP when the result is not NSString.
Bug: 924441
Change-Id: Ib02e80c09ef8c3af9f877f0c70cf1361fc019dd5
Reviewed-on: https://chromium-review.googlesource.com/c/1433754
Commit-Queue: Yi Su <mrsuyi@chromium.org>
Reviewed-by: Mike Dougherty <michaeldo@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#626028}(cherry picked from commit 831dfd6)
Reviewed-on: https://chromium-review.googlesource.com/c/1445038
Reviewed-by: Yi Su <mrsuyi@chromium.org>
Cr-Commit-Position: refs/branch-heads/3683@{#61}
Cr-Branched-From: e510299-refs/heads/master@{#625896}1 parent ac16eeb commit 4b50559
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
| 173 | + | |
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
176 | | - | |
| 177 | + | |
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| |||
0 commit comments