Index: fpdfsdk/fxedit/fxet_pageobjs.cpp |
diff --git a/fpdfsdk/fxedit/fxet_pageobjs.cpp b/fpdfsdk/fxedit/fxet_pageobjs.cpp |
index be386095e2a44bd3463512e6a7e044cd9cddc7ba..91039f49deb39eb70a459b395bfec6d5cfcef98c 100644 |
--- a/fpdfsdk/fxedit/fxet_pageobjs.cpp |
+++ b/fpdfsdk/fxedit/fxet_pageobjs.cpp |
@@ -136,7 +136,7 @@ void IFX_Edit::DrawUnderline(CFX_RenderDevice* pDevice, |
} |
} |
- pDevice->RestoreState(); |
+ pDevice->RestoreState(false); |
} |
void IFX_Edit::DrawEdit(CFX_RenderDevice* pDevice, |
@@ -260,7 +260,7 @@ void IFX_Edit::DrawEdit(CFX_RenderDevice* pDevice, |
} |
} |
- pDevice->RestoreState(); |
+ pDevice->RestoreState(false); |
} |
void IFX_Edit::DrawRichEdit(CFX_RenderDevice* pDevice, |
@@ -385,7 +385,7 @@ void IFX_Edit::DrawRichEdit(CFX_RenderDevice* pDevice, |
} |
} |
- pDevice->RestoreState(); |
+ pDevice->RestoreState(false); |
} |
static void AddRectToPageObjects(CPDF_PageObjectHolder* pObjectHolder, |