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

Unified Diff: xfa/fxbarcode/common/BC_WhiteRectangleDetector.h

Issue 2067903002: Make code compile with clang_use_chrome_plugin (part III) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments Created 4 years, 6 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 | « xfa/fxbarcode/common/BC_GlobalHistogramBinarizer.h ('k') | xfa/fxbarcode/datamatrix/BC_ASCIIEncoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxbarcode/common/BC_WhiteRectangleDetector.h
diff --git a/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h b/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h
index f3ac77a9c0498275581e2e22f415f81a00fa30b1..427d7b85ca21d6a4aec421915d5a99c9a0d31627 100644
--- a/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h
+++ b/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h
@@ -14,18 +14,19 @@ class CBC_ResultPoint;
class CBC_WhiteRectangleDetector {
public:
- CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image);
+ explicit CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image);
CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image,
int32_t initSize,
int32_t x,
int32_t y);
virtual ~CBC_WhiteRectangleDetector();
+
virtual void Init(int32_t& e);
CFX_ArrayTemplate<CBC_ResultPoint*>* Detect(int32_t& e);
private:
- int32_t Round(float d);
+ int32_t Round(FX_FLOAT d);
CBC_ResultPoint* GetBlackPointOnSegment(FX_FLOAT aX,
FX_FLOAT aY,
FX_FLOAT bX,
« no previous file with comments | « xfa/fxbarcode/common/BC_GlobalHistogramBinarizer.h ('k') | xfa/fxbarcode/datamatrix/BC_ASCIIEncoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698