summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/pdfwindow/PWL_Utils.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-06 23:00:34 -0800
committerLei Zhang <thestig@chromium.org>2016-01-06 23:00:34 -0800
commit7457e38fae636ce3d0cda2c7fd2e100975440222 (patch)
tree1b710980f6befe610cc013f2d914c8a9ba49eab3 /fpdfsdk/src/pdfwindow/PWL_Utils.cpp
parent20e25f2d6cbe4e9955a6e7c445749d5492548d76 (diff)
downloadpdfium-7457e38fae636ce3d0cda2c7fd2e100975440222.tar.xz
Merge to XFA: Return const-ref object in a few CPWL_Wnd getters.
Also remove a bunch of dead code. TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1565803003 . (cherry picked from commit cbed99098ad4cdc3f9f260cc1e8521f67c12d35d) Review URL: https://codereview.chromium.org/1569483004 .
Diffstat (limited to 'fpdfsdk/src/pdfwindow/PWL_Utils.cpp')
-rw-r--r--fpdfsdk/src/pdfwindow/PWL_Utils.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/fpdfsdk/src/pdfwindow/PWL_Utils.cpp b/fpdfsdk/src/pdfwindow/PWL_Utils.cpp
index 2c9ec99dc8..3b0f3beff9 100644
--- a/fpdfsdk/src/pdfwindow/PWL_Utils.cpp
+++ b/fpdfsdk/src/pdfwindow/PWL_Utils.cpp
@@ -1469,7 +1469,6 @@ void CPWL_Utils::DrawBorder(CFX_RenderDevice* pDevice,
const CPWL_Color& crLeftTop,
const CPWL_Color& crRightBottom,
int32_t nStyle,
- const CPWL_Dash& dash,
int32_t nTransparancy) {
FX_FLOAT fLeft = rect.left;
FX_FLOAT fRight = rect.right;