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

Side by Side Diff: core/fxge/ifx_renderdevicedriver.cpp

Issue 2350763002: Revert of Pdfium: Fix fonts leaking on ClosePage. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 4 years, 3 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/fxge/ge/cfx_renderdevice.cpp ('k') | core/fxge/include/cfx_facecache.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 #include "core/fxge/include/ifx_renderdevicedriver.h" 7 #include "core/fxge/include/ifx_renderdevicedriver.h"
8 8
9 #include "core/fxcrt/include/fx_coordinates.h" 9 #include "core/fxcrt/include/fx_coordinates.h"
10 #include "core/fxge/include/cfx_pathdata.h" 10 #include "core/fxge/include/cfx_pathdata.h"
11 #include "core/fxge/include/cfx_renderdevice.h" 11 #include "core/fxge/include/cfx_renderdevice.h"
12 12
13 class CFX_FontCache;
14
13 IFX_RenderDeviceDriver::~IFX_RenderDeviceDriver() {} 15 IFX_RenderDeviceDriver::~IFX_RenderDeviceDriver() {}
14 16
15 CFX_Matrix IFX_RenderDeviceDriver::GetCTM() const { 17 CFX_Matrix IFX_RenderDeviceDriver::GetCTM() const {
16 return CFX_Matrix(); 18 return CFX_Matrix();
17 } 19 }
18 20
19 FX_BOOL IFX_RenderDeviceDriver::StartRendering() { 21 FX_BOOL IFX_RenderDeviceDriver::StartRendering() {
20 return TRUE; 22 return TRUE;
21 } 23 }
22 24
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 FX_BOOL IFX_RenderDeviceDriver::ContinueDIBits(void* handle, 63 FX_BOOL IFX_RenderDeviceDriver::ContinueDIBits(void* handle,
62 IFX_Pause* pPause) { 64 IFX_Pause* pPause) {
63 return FALSE; 65 return FALSE;
64 } 66 }
65 67
66 void IFX_RenderDeviceDriver::CancelDIBits(void* handle) {} 68 void IFX_RenderDeviceDriver::CancelDIBits(void* handle) {}
67 69
68 FX_BOOL IFX_RenderDeviceDriver::DrawDeviceText(int nChars, 70 FX_BOOL IFX_RenderDeviceDriver::DrawDeviceText(int nChars,
69 const FXTEXT_CHARPOS* pCharPos, 71 const FXTEXT_CHARPOS* pCharPos,
70 CFX_Font* pFont, 72 CFX_Font* pFont,
73 CFX_FontCache* pCache,
71 const CFX_Matrix* pObject2Device, 74 const CFX_Matrix* pObject2Device,
72 FX_FLOAT font_size, 75 FX_FLOAT font_size,
73 uint32_t color) { 76 uint32_t color) {
74 return FALSE; 77 return FALSE;
75 } 78 }
76 79
77 void* IFX_RenderDeviceDriver::GetPlatformSurface() const { 80 void* IFX_RenderDeviceDriver::GetPlatformSurface() const {
78 return nullptr; 81 return nullptr;
79 } 82 }
80 83
(...skipping 12 matching lines...) Expand all
93 } 96 }
94 97
95 bool IFX_RenderDeviceDriver::SetBitsWithMask(const CFX_DIBSource* pBitmap, 98 bool IFX_RenderDeviceDriver::SetBitsWithMask(const CFX_DIBSource* pBitmap,
96 const CFX_DIBSource* pMask, 99 const CFX_DIBSource* pMask,
97 int left, 100 int left,
98 int top, 101 int top,
99 int bitmap_alpha, 102 int bitmap_alpha,
100 int blend_type) { 103 int blend_type) {
101 return false; 104 return false;
102 } 105 }
OLDNEW
« no previous file with comments | « core/fxge/ge/cfx_renderdevice.cpp ('k') | core/fxge/include/cfx_facecache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698