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

Side by Side Diff: core/src/fpdfapi/fpdf_font/ttgsubtable.h

Issue 370853002: pdfium: Fix all -Wdelete-non-virtual-dtor violations on Mac. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase Created 6 years, 5 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 unified diff | Download patch
« no previous file with comments | « core/include/fxge/fx_font.h ('k') | core/src/fpdfdoc/tagged_int.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef TTGSUBTable_H 7 #ifndef TTGSUBTable_H
8 #define TTGSUBTable_H 8 #define TTGSUBTable_H
9 #include "../../fx_freetype.h" 9 #include "../../fx_freetype.h"
10 #include "../../../include/fxcrt/fx_basic.h" 10 #include "../../../include/fxcrt/fx_basic.h"
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 return ret; 399 return ret;
400 } 400 }
401 CFX_CMapDWordToDWord m_featureMap; 401 CFX_CMapDWordToDWord m_featureMap;
402 FX_BOOL m_bFeautureMapLoad; 402 FX_BOOL m_bFeautureMapLoad;
403 bool loaded; 403 bool loaded;
404 struct tt_gsub_header header; 404 struct tt_gsub_header header;
405 struct TScriptList ScriptList; 405 struct TScriptList ScriptList;
406 struct TFeatureList FeatureList; 406 struct TFeatureList FeatureList;
407 struct TLookupList LookupList; 407 struct TLookupList LookupList;
408 }; 408 };
409 class CFX_GSUBTable : public IFX_GSUBTable, public CFX_Object 409 class CFX_GSUBTable FX_FINAL : public IFX_GSUBTable, public CFX_Object
410 { 410 {
411 public: 411 public:
412 virtual void Release() 412 virtual void Release()
413 { 413 {
414 delete this; 414 delete this;
415 } 415 }
416 virtual FX_BOOL GetVerticalGlyph(FX_DWORD glyphnum, FX_DWORD* vglyphnum); 416 virtual FX_BOOL GetVerticalGlyph(FX_DWORD glyphnum, FX_DWORD* vglyphnum);
417 CFX_CTTGSUBTable m_GsubImp; 417 CFX_CTTGSUBTable m_GsubImp;
418 }; 418 };
419 #endif 419 #endif
OLDNEW
« no previous file with comments | « core/include/fxge/fx_font.h ('k') | core/src/fpdfdoc/tagged_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698