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

Unified Diff: xfa/fde/tto/fde_textout.cpp

Issue 2010813003: Remove default arguments from CFX_FxgeDevice. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@fxgeclean2_textrenderer
Patch Set: rebase Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/include/fsdk_define.h ('k') | xfa/fwl/theme/cfwl_formtp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fde/tto/fde_textout.cpp
diff --git a/xfa/fde/tto/fde_textout.cpp b/xfa/fde/tto/fde_textout.cpp
index 3e14b9bf38873748d42e4f9b4bcfcd5e7db7a1dd..c7d82ac0f426ea6f3168b442393b94c6616e0147 100644
--- a/xfa/fde/tto/fde_textout.cpp
+++ b/xfa/fde/tto/fde_textout.cpp
@@ -125,12 +125,13 @@ void CFDE_TextOut::SetLineSpace(FX_FLOAT fLineSpace) {
ASSERT(fLineSpace > 1.0f);
m_fLineSpace = fLineSpace;
}
+
void CFDE_TextOut::SetDIBitmap(CFX_DIBitmap* pDIB) {
ASSERT(pDIB);
m_pRenderDevice.reset();
CFX_FxgeDevice* device = new CFX_FxgeDevice;
- device->Attach(pDIB, 0, FALSE);
+ device->Attach(pDIB, false, nullptr, false);
m_pRenderDevice.reset(new CFDE_RenderDevice(device, FALSE));
}
« no previous file with comments | « fpdfsdk/include/fsdk_define.h ('k') | xfa/fwl/theme/cfwl_formtp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698