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

Unified Diff: xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.cpp

Issue 1422713007: XFA: Remove dead code in CBC_BufferedImageLuminanceSource and friends. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 2 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/src/fxbarcode/BC_BufferedImageLuminanceSource.h ('k') | xfa/src/fxbarcode/BC_LuminanceSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.cpp
diff --git a/xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.cpp b/xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.cpp
index 01c4f6c1fdb9ea1babf84224ed992c24bcd89de5..d6a83c2964e87680eb049d869d3ac797b32c41f3 100644
--- a/xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.cpp
+++ b/xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.cpp
@@ -167,21 +167,3 @@ CFX_ByteArray* CBC_BufferedImageLuminanceSource::GetMatrix() {
}
return matirx;
}
-FX_BOOL CBC_BufferedImageLuminanceSource::IsCropSupported() {
- return TRUE;
-}
-FX_BOOL CBC_BufferedImageLuminanceSource::IsRotateSupported() {
- return TRUE;
-}
-CBC_LuminanceSource* CBC_BufferedImageLuminanceSource::Crop(int32_t left,
- int32_t top,
- int32_t width,
- int32_t height) {
- return NULL;
-}
-CBC_LuminanceSource* CBC_BufferedImageLuminanceSource::RotateCounterClockwise(
- int32_t& e) {
- if (!IsRotateSupported())
- e = BCExceptionRotateNotSupported;
- return NULL;
-}
« no previous file with comments | « xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.h ('k') | xfa/src/fxbarcode/BC_LuminanceSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698