From 16a6af1553f9eddf570459ae859f812a5a100611 Mon Sep 17 00:00:00 2001 From: "jamesr@chromium.org" Date: Fri, 13 Jun 2014 04:20:16 +0000 Subject: 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 --- cc/surfaces/surface_aggregator_test_helpers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cc/surfaces/surface_aggregator_test_helpers.cc') 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); -- cgit v1.1