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

Unified Diff: core/include/fpdfapi/fpdf_resource.h

Issue 554913003: Change the forced clear order of CPDF_DocPageData::Clear, and remove m_pDocument in CPDF_Color (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nit Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/include/fpdfapi/fpdf_resource.h
diff --git a/core/include/fpdfapi/fpdf_resource.h b/core/include/fpdfapi/fpdf_resource.h
index 92c4872537af31ee832bb15bdaf33f8c04b247ce..a7a644435e0f94d7ae6076b71f4225cd86bc8f87 100644
--- a/core/include/fpdfapi/fpdf_resource.h
+++ b/core/include/fpdfapi/fpdf_resource.h
@@ -680,7 +680,7 @@ class CPDF_Color : public CFX_Object
{
public:
- CPDF_Color() :m_pCS(NULL), m_pBuffer(NULL), m_pDocument(NULL)
+ CPDF_Color() :m_pCS(NULL), m_pBuffer(NULL)
{
}
@@ -722,7 +722,6 @@ protected:
void ReleaseBuffer();
void ReleaseColorSpace();
FX_FLOAT* m_pBuffer;
- CPDF_Document* m_pDocument;
};
#define PATTERN_TILING 1
#define PATTERN_SHADING 2
« no previous file with comments | « no previous file | core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698