diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-12 22:41:20 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-12 22:43:40 +0000 |
commit | 620aaedc2cc233cc75cc2006882a005f74184916 (patch) | |
tree | d0b452aeba697fd28b322acef871e957310a153e /cc/test/render_pass_test_utils.cc | |
parent | fc6035eeae866d4afb10242159fbd8dc2847dce3 (diff) | |
download | chromium_src-620aaedc2cc233cc75cc2006882a005f74184916.zip chromium_src-620aaedc2cc233cc75cc2006882a005f74184916.tar.gz chromium_src-620aaedc2cc233cc75cc2006882a005f74184916.tar.bz2 |
Remove unused RenderPassDrawQuad fields
The contents_changed_since_last_frame and is_replica fields are not
used. Also removes RenderSurfaceImpl's ContentsChanged() as this method
was only used in determining the value of
contents_changed_since_last_frame.
Unfortunately now RenderPassDrawQuad is only the largest quad type on
64-bit builds. So, adds kLargestQuadType to cc/quads/ and moves the
largest-quad-type unit test there verifying that kLargestQuadType is
the largest now, instead of RenderPassDrawQuad.
R=enne
BUG=401481
NOTRY=true
Review URL: https://codereview.chromium.org/448133002
Cr-Commit-Position: refs/heads/master@{#289091}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289091 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/render_pass_test_utils.cc')
-rw-r--r-- | cc/test/render_pass_test_utils.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cc/test/render_pass_test_utils.cc b/cc/test/render_pass_test_utils.cc index bbbb3d1..95eb4ba 100644 --- a/cc/test/render_pass_test_utils.cc +++ b/cc/test/render_pass_test_utils.cc @@ -99,9 +99,7 @@ void AddRenderPassQuad(TestRenderPass* to_pass, output_rect, output_rect, contributing_pass->id, - false, 0, - output_rect, gfx::RectF(), FilterOperations(), gfx::Vector2dF(), @@ -129,9 +127,7 @@ void AddRenderPassQuad(TestRenderPass* to_pass, output_rect, output_rect, contributing_pass->id, - false, mask_resource_id, - output_rect, gfx::RectF(), filters, gfx::Vector2dF(), |