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

Issue 1414793010: Use std::numeric_limits::max() to put in the large position value. (Closed)

Created:
5 years, 1 month ago by dsinclair
Modified:
5 years, 1 month ago
Reviewers:
Tom Sepez
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Use std::numeric_limits::max() to put in the large position value. This size is different on Windows vs Mac and Linux. Need to use numeric_limits instead of a hard coded value. R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/a6400478803ed338e61980cea239b74c5a59b9c0

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (1 generated)
dsinclair
PTAL.
5 years, 1 month ago (2015-11-03 19:21:48 UTC) #2
Tom Sepez
lgtm
5 years, 1 month ago (2015-11-03 19:23:24 UTC) #3
dsinclair
5 years, 1 month ago (2015-11-03 19:23:41 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
a6400478803ed338e61980cea239b74c5a59b9c0 (tree was closed).

Powered by Google App Engine
This is Rietveld 408576698