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

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: fix 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
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..370fd9786d6dfa56f768d7d9b3197a47016cc8d5 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);
+ int32_t Round(FX_FLOAT d);
Lei Zhang 2016/06/15 00:04:30 Not obvious why this needs to be public.
Wei Li 2016/06/15 00:32:39 Done.
private:
- int32_t Round(float d);
CBC_ResultPoint* GetBlackPointOnSegment(FX_FLOAT aX,
FX_FLOAT aY,
FX_FLOAT bX,

Powered by Google App Engine
This is Rietveld 408576698