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

Unified Diff: fpdfsdk/src/formfiller/FFL_FormFiller.cpp

Issue 1549283002: Take care fall-through cases of switch in pdfium (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years 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 | « no previous file | fpdfsdk/src/javascript/JS_GlobalData.cpp » ('j') | fpdfsdk/src/javascript/JS_GlobalData.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/src/formfiller/FFL_FormFiller.cpp
diff --git a/fpdfsdk/src/formfiller/FFL_FormFiller.cpp b/fpdfsdk/src/formfiller/FFL_FormFiller.cpp
index 2e0451c0f6a360f34371219bc9a340fcb5ea58ad..ae99edbf8703a9102b8e42b3a71c20df26522a6d 100644
--- a/fpdfsdk/src/formfiller/FFL_FormFiller.cpp
+++ b/fpdfsdk/src/formfiller/FFL_FormFiller.cpp
@@ -273,8 +273,10 @@ void CFFL_FormFiller::KillFocusForAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag) {
case FIELDTYPE_CHECKBOX:
case FIELDTYPE_RADIOBUTTON:
bDestroyPDFWindow = TRUE;
+ break;
Lei Zhang 2015/12/28 20:55:00 This regressed in commit ac67d4765a8ac36cd00c9fc8b
default:
bDestroyPDFWindow = FALSE;
+ break;
}
EscapeFiller(pPageView, bDestroyPDFWindow);
}
« no previous file with comments | « no previous file | fpdfsdk/src/javascript/JS_GlobalData.cpp » ('j') | fpdfsdk/src/javascript/JS_GlobalData.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698