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

Issue 880233005: CPDF_Object() constructor should set its internal m_Type variable. (Closed)

Created:
5 years, 10 months ago by Tom Sepez
Modified:
5 years, 10 months ago
Reviewers:
Lei Zhang, jun_fang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

CPDF_Object() constructor should set its internal m_Type variable. Follow-on from https://codereview.chromium.org/911293002/ Currently, all the subclass constructors are reaching up into the parent class to do this. Fix this, just because. R=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/6e7ceb8225de25b66d27d620c9521e19de023504

Patch Set 1 #

Patch Set 2 : Fix typo #

Total comments: 3

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -87 lines) Patch
M core/include/fpdfapi/fpdf_objects.h View 1 2 9 chunks +18 lines, -65 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp View 1 4 chunks +13 lines, -22 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Tom Sepez
Lei, Jun, please review.
5 years, 10 months ago (2015-02-11 00:50:13 UTC) #2
Lei Zhang
lgtm https://codereview.chromium.org/880233005/diff/20001/core/include/fpdfapi/fpdf_objects.h File core/include/fpdfapi/fpdf_objects.h (right): https://codereview.chromium.org/880233005/diff/20001/core/include/fpdfapi/fpdf_objects.h#newcode94 core/include/fpdfapi/fpdf_objects.h:94: CPDF_Object(FX_DWORD type) : m_Type(type), m_ObjNum(0), m_GenNum(0) { } ...
5 years, 10 months ago (2015-02-11 01:02:37 UTC) #3
jun_fang
https://codereview.chromium.org/880233005/diff/20001/core/include/fpdfapi/fpdf_objects.h File core/include/fpdfapi/fpdf_objects.h (right): https://codereview.chromium.org/880233005/diff/20001/core/include/fpdfapi/fpdf_objects.h#newcode94 core/include/fpdfapi/fpdf_objects.h:94: CPDF_Object(FX_DWORD type) : m_Type(type), m_ObjNum(0), m_GenNum(0) { } Before ...
5 years, 10 months ago (2015-02-11 01:18:03 UTC) #4
Tom Sepez
> Before this patch, CPDF_Object has a constructor function without any > parameters. In this ...
5 years, 10 months ago (2015-02-11 20:41:13 UTC) #6
Tom Sepez
On 2015/02/11 01:02:37, Lei Zhang wrote: > lgtm > > https://codereview.chromium.org/880233005/diff/20001/core/include/fpdfapi/fpdf_objects.h > File core/include/fpdfapi/fpdf_objects.h (right): ...
5 years, 10 months ago (2015-02-11 20:42:31 UTC) #7
Tom Sepez
5 years, 10 months ago (2015-02-11 20:44:08 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
6e7ceb8225de25b66d27d620c9521e19de023504 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698