summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/pdfwindow/PWL_Utils.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-06 14:58:50 -0800
committerLei Zhang <thestig@chromium.org>2016-01-06 14:58:50 -0800
commitcbed99098ad4cdc3f9f260cc1e8521f67c12d35d (patch)
tree4647ee4cc1d8edd615ec641cf597d3985107467d /fpdfsdk/src/pdfwindow/PWL_Utils.cpp
parentdcac57bc8b64fdc870d79d11a498ae7021cf8ae7 (diff)
downloadpdfium-cbed99098ad4cdc3f9f260cc1e8521f67c12d35d.tar.xz
Return const-ref object in a few CPWL_Wnd getters.
Also remove a bunch of dead code. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1565803003 .
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;