summaryrefslogtreecommitdiffstats
path: root/cc/output/direct_renderer.cc
diff options
context:
space:
mode:
authorsenorblanco <senorblanco@chromium.org>2016-01-26 15:27:28 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-26 23:29:05 +0000
commitd195bafa7b5ba5798253db60ff5f50c5154a6823 (patch)
treea3ec8fd36bd2f4d683d08e1e7f08540a8f5222bc /cc/output/direct_renderer.cc
parent16920f1d78f2f2777c16779fa6ed4d83225282c0 (diff)
downloadchromium_src-d195bafa7b5ba5798253db60ff5f50c5154a6823.zip
chromium_src-d195bafa7b5ba5798253db60ff5f50c5154a6823.tar.gz
chromium_src-d195bafa7b5ba5798253db60ff5f50c5154a6823.tar.bz2
cc: remove unused texture rect params, functions.
Looks like the target_rect param to BindFramebufferToTexture is now unused. And it looks like UseScopedTexture is entirely unused. Remove them both. BUG= CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1633283002 Cr-Commit-Position: refs/heads/master@{#371632}
Diffstat (limited to 'cc/output/direct_renderer.cc')
-rw-r--r--cc/output/direct_renderer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/output/direct_renderer.cc b/cc/output/direct_renderer.cc
index 3a10cbe..ede93ab 100644
--- a/cc/output/direct_renderer.cc
+++ b/cc/output/direct_renderer.cc
@@ -547,7 +547,7 @@ bool DirectRenderer::UseRenderPass(DrawingFrame* frame,
}
DCHECK(texture->id());
- if (BindFramebufferToTexture(frame, texture, render_pass->output_rect)) {
+ if (BindFramebufferToTexture(frame, texture)) {
InitializeViewport(frame, render_pass->output_rect,
gfx::Rect(render_pass->output_rect.size()),
render_pass->output_rect.size());