From 008b928ea39904374bc0dc8888e27bc48c812bda Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 12 Apr 2018 21:23:15 +0000 Subject: Rename one CPDF_Color::SetValue() variant. Rename it to SetValueForPattern() and combine the components parameters into a std::vector. Fix the callers to use std::vector as well. Change-Id: Ib3426e0ffdb164f0fbb10d462ad251bf91165925 Reviewed-on: https://pdfium-review.googlesource.com/30450 Commit-Queue: Lei Zhang Reviewed-by: Henrique Nakashima --- core/fpdfapi/page/cpdf_streamcontentparser.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/fpdfapi/page/cpdf_streamcontentparser.h') diff --git a/core/fpdfapi/page/cpdf_streamcontentparser.h b/core/fpdfapi/page/cpdf_streamcontentparser.h index ff80ae9ef1..2711a39918 100644 --- a/core/fpdfapi/page/cpdf_streamcontentparser.h +++ b/core/fpdfapi/page/cpdf_streamcontentparser.h @@ -122,6 +122,9 @@ class CPDF_StreamContentParser { // Takes ownership of |pImageObj|, returns unowned pointer to it. CPDF_ImageObject* AddImageObject(std::unique_ptr pImageObj); + std::vector GetColors() const; + std::vector GetNamedColors() const; + void Handle_CloseFillStrokePath(); void Handle_FillStrokePath(); void Handle_CloseEOFillStrokePath(); -- cgit v1.2.3