diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-13 04:20:16 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-13 04:20:16 +0000 |
commit | 16a6af1553f9eddf570459ae859f812a5a100611 (patch) | |
tree | 309626d2d0f54826b15d8a8b4997f9b700165388 /cc/surfaces/surface_aggregator_test_helpers.cc | |
parent | 9289b4e99a23444328d95a736b54a42aab21bb27 (diff) | |
download | chromium_src-16a6af1553f9eddf570459ae859f812a5a100611.zip chromium_src-16a6af1553f9eddf570459ae859f812a5a100611.tar.gz chromium_src-16a6af1553f9eddf570459ae859f812a5a100611.tar.bz2 |
Use a struct for cc::Surface ids for more type safety
We currently represent surface ids as just an int, but may want to move
to a richer data structure in the future. Identifiers that are ints are also
pretty easy to confuse with other ints.
R=piman@chromium.org
Review URL: https://codereview.chromium.org/331533002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276923 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/surfaces/surface_aggregator_test_helpers.cc')
-rw-r--r-- | cc/surfaces/surface_aggregator_test_helpers.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/surfaces/surface_aggregator_test_helpers.cc b/cc/surfaces/surface_aggregator_test_helpers.cc index 51d1cb6..747f84a 100644 --- a/cc/surfaces/surface_aggregator_test_helpers.cc +++ b/cc/surfaces/surface_aggregator_test_helpers.cc @@ -24,7 +24,7 @@ namespace test { void AddTestSurfaceQuad(TestRenderPass* pass, const gfx::Size& surface_size, - int surface_id) { + SurfaceId surface_id) { gfx::Transform content_to_target_transform; gfx::Size content_bounds = surface_size; gfx::Rect visible_content_rect = gfx::Rect(surface_size); |