Index: fpdfsdk/formfiller/cffl_formfiller.cpp |
diff --git a/fpdfsdk/formfiller/cffl_formfiller.cpp b/fpdfsdk/formfiller/cffl_formfiller.cpp |
index 90b83d6e4607d20a10fe68705435ce55843e242e..6a8ec5da337da647577f9f358e829ef8cac8b847 100644 |
--- a/fpdfsdk/formfiller/cffl_formfiller.cpp |
+++ b/fpdfsdk/formfiller/cffl_formfiller.cpp |
@@ -85,7 +85,7 @@ void CFFL_FormFiller::OnDraw(CPDFSDK_PageView* pPageView, |
CFX_RenderDevice* pDevice, |
CFX_Matrix* pUser2Device, |
uint32_t dwFlags) { |
- ASSERT(pAnnot->GetPDFAnnot()->GetSubtype() == "Widget"); |
+ ASSERT(pAnnot->GetPDFAnnot()->GetSubtype() == CPDF_Annot::Subtype::WIDGET); |
if (CPWL_Wnd* pWnd = GetPDFWindow(pPageView, FALSE)) { |
CFX_Matrix mt = GetCurMatrix(); |