summaryrefslogtreecommitdiff
path: root/core/fxge/android/cfpf_skiabufferfont.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-08-17 01:31:18 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-08-17 10:13:18 +0000
commit19319b7d047e50c54ff845715553adf4652cd793 (patch)
tree0cd4f485359fa1daa306ac892e02425b52eb3e9a /core/fxge/android/cfpf_skiabufferfont.cpp
parent2e56505ed801ee6da3ecb7a1dfe0473941028c6e (diff)
downloadpdfium-19319b7d047e50c54ff845715553adf4652cd793.tar.xz
Roll build_revision to bff6ee8.
Also roll buildtools_revision to f90f6a5 and update Android code that did not previously pass the Chromium style plugin. TBR=dsinclair@chromium.org Change-Id: Ifb1193cee8f68ac99a31c8d43195e4d7005eeafb Reviewed-on: https://pdfium-review.googlesource.com/11293 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxge/android/cfpf_skiabufferfont.cpp')
-rw-r--r--core/fxge/android/cfpf_skiabufferfont.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/fxge/android/cfpf_skiabufferfont.cpp b/core/fxge/android/cfpf_skiabufferfont.cpp
new file mode 100644
index 0000000000..3fce483bdc
--- /dev/null
+++ b/core/fxge/android/cfpf_skiabufferfont.cpp
@@ -0,0 +1,16 @@
+// Copyright 2017 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "core/fxge/android/cfpf_skiabufferfont.h"
+
+CFPF_SkiaBufferFont::CFPF_SkiaBufferFont()
+ : m_pBuffer(nullptr), m_szBuffer(0) {}
+
+CFPF_SkiaBufferFont::~CFPF_SkiaBufferFont() = default;
+
+int32_t CFPF_SkiaBufferFont::GetType() const {
+ return FPF_SKIAFONTTYPE_Buffer;
+}