summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_rendercontext.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-08-14 11:09:35 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-14 15:54:57 +0000
commitc068c8e1ac5d41ace2a89827601669e8b573ef48 (patch)
tree0c10481a29ae297b839279844a7446f3ac5d935a /xfa/fde/cfde_rendercontext.cpp
parent24b6af6c87f0d7f49f5213ae019616b9b07e2e8f (diff)
downloadpdfium-c068c8e1ac5d41ace2a89827601669e8b573ef48.tar.xz
Remove FDE_VISUALOBJ_Canvas
No code sets the visual object type of Canvas. Remove. Change-Id: I213bf7bb93adbb08e949807f53a9e94579d59c1d Reviewed-on: https://pdfium-review.googlesource.com/10614 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_rendercontext.cpp')
-rw-r--r--xfa/fde/cfde_rendercontext.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/xfa/fde/cfde_rendercontext.cpp b/xfa/fde/cfde_rendercontext.cpp
index dd6dfa0aee..284de5daa2 100644
--- a/xfa/fde/cfde_rendercontext.cpp
+++ b/xfa/fde/cfde_rendercontext.cpp
@@ -58,9 +58,6 @@ void CFDE_RenderContext::DoRender() {
RenderText(static_cast<CFDE_TxtEdtTextSet*>(pVisualSet), pPiece);
iCount += 5;
break;
- case FDE_VISUALOBJ_Canvas:
- NOTREACHED();
- break;
default:
break;
}