summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi/fpdf_objects.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-03-07 14:55:02 -0800
committerTom Sepez <tsepez@chromium.org>2016-03-07 14:55:02 -0800
commit9f7b5e1b5e0dfd7310a2eb9e586bc998f8ea11fa (patch)
treece06cb7cd56b4d2d94083a34116ecb9886b9e9b0 /core/include/fpdfapi/fpdf_objects.h
parentb90dabecdb9a8a439265e327b7f0f770d9a5245c (diff)
downloadpdfium-9f7b5e1b5e0dfd7310a2eb9e586bc998f8ea11fa.tar.xz
Completely de-virtualize CPDF_SyntaxParser.
It isn't sub-classed. Making GetNextChar() non-virtual may save a virtual fn call per character if the compilers aren't able to do so themselves. Make members private, not protected. BUG= R=ochang@chromium.org Review URL: https://codereview.chromium.org/1772973002 .
Diffstat (limited to 'core/include/fpdfapi/fpdf_objects.h')
-rw-r--r--core/include/fpdfapi/fpdf_objects.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/include/fpdfapi/fpdf_objects.h b/core/include/fpdfapi/fpdf_objects.h
index 6047e36b94..58d98e5436 100644
--- a/core/include/fpdfapi/fpdf_objects.h
+++ b/core/include/fpdfapi/fpdf_objects.h
@@ -97,7 +97,6 @@ class CPDF_Object {
friend class CPDF_IndirectObjectHolder;
friend class CPDF_Parser;
- friend class CPDF_SyntaxParser;
private:
CPDF_Object(const CPDF_Object& src) {}