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

Unified Diff: core/src/fpdfapi/fpdf_page/pageint.h

Issue 656753002: Store the address of the page data map's value for proper referencing. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Clean up Created 6 years, 2 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
Index: core/src/fpdfapi/fpdf_page/pageint.h
diff --git a/core/src/fpdfapi/fpdf_page/pageint.h b/core/src/fpdfapi/fpdf_page/pageint.h
index f79b8d38f325135ca372e96c005415aace2bb159..473816bc4a811f7e61bcaf0f4891bc6a96d287d9 100644
--- a/core/src/fpdfapi/fpdf_page/pageint.h
+++ b/core/src/fpdfapi/fpdf_page/pageint.h
@@ -430,7 +430,9 @@ public:
void ReleaseIccProfile(CPDF_Stream* pIccProfileStream, CPDF_IccProfile* pIccProfile);
CPDF_StreamAcc* GetFontFileStreamAcc(CPDF_Stream* pFontStream);
void ReleaseFontFileStreamAcc(CPDF_Stream* pFontStream, FX_BOOL bForce = FALSE);
- FX_BOOL IsForceClear() const {return m_bForceClear;}
+ FX_BOOL IsForceClear() const {return m_bForceClear;}
+ CPDF_ColorSpace** FindColorSpacePtr(CPDF_Object* pCSObj);
Tom Sepez 2014/10/14 20:39:31 nit: are these const methods? Is the arg a const
Bo Xu 2014/10/14 20:53:33 They are const methods, I will put that in.
+ CPDF_Pattern** FindPatternPtr(CPDF_Object* pPatternObj);
CPDF_Document* m_pPDFDoc;
CPDF_FontMap m_FontMap;
@@ -497,6 +499,7 @@ public:
return m_pBaseCS;
}
CPDF_ColorSpace* m_pBaseCS;
+ CPDF_ColorSpace** m_pPtrBaseCS;
};
#define MAX_PAGE_OBJECTS_UNIFY_NAMING 4096
class CPDF_ResourceNaming : public CFX_Object
« core/include/fpdfapi/fpdf_resource.h ('K') | « core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698