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

Issue 316233002: Fix some links in PDFs not working. (Closed)

Created:
6 years, 6 months ago by jam
Modified:
6 years, 6 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews
Visibility:
Public.

Description

Fix some links in PDFs not working. We were adding an extra null into the string because FPDFLink_GetURL only gives the length without the null terminator. BUG=pdfium:6 R=thestig@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275439

Patch Set 1 : #

Total comments: 3

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M pdf/pdfium/pdfium_page.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jam
I'm not sure how this worked before; something must have changed because PDFs that worked ...
6 years, 6 months ago (2014-06-05 18:09:43 UTC) #1
Lei Zhang
https://codereview.chromium.org/316233002/diff/20001/pdf/pdfium/pdfium_page.cc File pdf/pdfium/pdfium_page.cc (right): https://codereview.chromium.org/316233002/diff/20001/pdf/pdfium/pdfium_page.cc#newcode391 pdf/pdfium/pdfium_page.cc:391: if (url_length > 0) { This needs to be ...
6 years, 6 months ago (2014-06-05 22:26:21 UTC) #2
jam
https://codereview.chromium.org/316233002/diff/20001/pdf/pdfium/pdfium_page.cc File pdf/pdfium/pdfium_page.cc (right): https://codereview.chromium.org/316233002/diff/20001/pdf/pdfium/pdfium_page.cc#newcode391 pdf/pdfium/pdfium_page.cc:391: if (url_length > 0) { On 2014/06/05 22:26:21, Lei ...
6 years, 6 months ago (2014-06-06 01:17:51 UTC) #3
Lei Zhang
On 2014/06/06 01:17:51, jam wrote: > https://codereview.chromium.org/316233002/diff/20001/pdf/pdfium/pdfium_page.cc > File pdf/pdfium/pdfium_page.cc (right): > > https://codereview.chromium.org/316233002/diff/20001/pdf/pdfium/pdfium_page.cc#newcode391 > ...
6 years, 6 months ago (2014-06-06 01:29:07 UTC) #4
jam
https://codereview.chromium.org/316233002/diff/20001/pdf/pdfium/pdfium_page.cc File pdf/pdfium/pdfium_page.cc (right): https://codereview.chromium.org/316233002/diff/20001/pdf/pdfium/pdfium_page.cc#newcode391 pdf/pdfium/pdfium_page.cc:391: if (url_length > 0) { On 2014/06/06 01:17:51, jam ...
6 years, 6 months ago (2014-06-06 03:19:05 UTC) #5
Lei Zhang
6 years, 6 months ago (2014-06-06 03:40:28 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698