diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-05 06:55:03 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-05 06:55:03 +0000 |
commit | 34ba1ffb32e6b517f3051ae0cc32cdf783aab47d (patch) | |
tree | da7444e0dda04a656d4a223016168efe3f260f9c /cc/layers/io_surface_layer.cc | |
parent | 514266b099e9e2177d230d3696c0f3835d5ffba7 (diff) | |
download | chromium_src-34ba1ffb32e6b517f3051ae0cc32cdf783aab47d.zip chromium_src-34ba1ffb32e6b517f3051ae0cc32cdf783aab47d.tar.gz chromium_src-34ba1ffb32e6b517f3051ae0cc32cdf783aab47d.tar.bz2 |
cc: Clean up OcclusionTracker template parameters.
Currently it takes LayerType and RenderSurfaceType, but the latter is
derivable from the former, so just pass the former. Since there's only
one parameter, it's clearer to use OcclusionTracker<Layer(Impl)>
directly instead of using typedefs.
Also rename the TestOcclusionTracker file from
occlusion_tracker_test_common.h to test_occlusion_tracker.h.
R=enne
BUG=344962
Review URL: https://codereview.chromium.org/183563003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254965 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layers/io_surface_layer.cc')
-rw-r--r-- | cc/layers/io_surface_layer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/layers/io_surface_layer.cc b/cc/layers/io_surface_layer.cc index 209827d..98d3dfe 100644 --- a/cc/layers/io_surface_layer.cc +++ b/cc/layers/io_surface_layer.cc @@ -41,7 +41,7 @@ void IOSurfaceLayer::PushPropertiesTo(LayerImpl* layer) { } bool IOSurfaceLayer::Update(ResourceUpdateQueue* queue, - const OcclusionTracker* occlusion) { + const OcclusionTracker<Layer>* occlusion) { bool updated = Layer::Update(queue, occlusion); // This layer doesn't update any resources from the main thread side, |