From 287e11a213d3197ac3e321acf294d903b271c269 Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Mon, 30 Jun 2014 09:49:21 -0700 Subject: Remove "this==NULL" and adjust corresponding callers BUG= R=thakis@chromium.org Review URL: https://codereview.chromium.org/361553002 --- core/include/fpdfapi/fpdf_objects.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/include/fpdfapi/fpdf_objects.h') diff --git a/core/include/fpdfapi/fpdf_objects.h b/core/include/fpdfapi/fpdf_objects.h index 622f39d35f..a41ff087ca 100644 --- a/core/include/fpdfapi/fpdf_objects.h +++ b/core/include/fpdfapi/fpdf_objects.h @@ -620,7 +620,7 @@ public: CPDF_Dictionary* GetDict() const { - return m_pStream->GetDict(); + return m_pStream? m_pStream->GetDict() : NULL; } FX_LPCBYTE GetData() const; -- cgit v1.2.3