summaryrefslogtreecommitdiffstats
path: root/cc/cc_tests.gyp
diff options
context:
space:
mode:
authorwangxianzhu@chromium.org <wangxianzhu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-26 09:24:43 +0000
committerwangxianzhu@chromium.org <wangxianzhu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-26 09:24:43 +0000
commitdd65f91f9abdea4c58648911a149215e67d6a0f4 (patch)
tree8d337e3a0e41631c666870299bb229483a055aa1 /cc/cc_tests.gyp
parent465acd519d086204d3c3df2c10bab72ce034940f (diff)
downloadchromium_src-dd65f91f9abdea4c58648911a149215e67d6a0f4.zip
chromium_src-dd65f91f9abdea4c58648911a149215e67d6a0f4.tar.gz
chromium_src-dd65f91f9abdea4c58648911a149215e67d6a0f4.tar.bz2
Let AreVisibleResourcesReady return correct value for PictureImageLayerImpl
AreVisibleResourcesReady didn't return correct value because PictureLayerImpl::raster_source_scale_ didn't reflect the actual value for PictureImageLayerImpl. In this CL raster_contents_scale_ and low_res_raster_contents_scale_ are stored in PictureLayerImpl. BTW extracted the code to determine if raster scale needs to be adjusted into ShouldAdjustRasterScale(). BUG=223201 TEST=PictureImageLayerImplTest.* Review URL: https://chromiumcodereview.appspot.com/12954006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190621 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/cc_tests.gyp')
-rw-r--r--cc/cc_tests.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/cc_tests.gyp b/cc/cc_tests.gyp
index b625cce..35b7095 100644
--- a/cc/cc_tests.gyp
+++ b/cc/cc_tests.gyp
@@ -40,6 +40,7 @@
'layers/nine_patch_layer_impl_unittest.cc',
'layers/nine_patch_layer_unittest.cc',
'trees/occlusion_tracker_unittest.cc',
+ 'layers/picture_image_layer_impl_unittest.cc',
'layers/picture_layer_impl_unittest.cc',
'resources/picture_layer_tiling_set_unittest.cc',
'resources/picture_layer_tiling_unittest.cc',
@@ -115,6 +116,7 @@
'test/fake_web_scrollbar_theme_geometry.h',
'test/geometry_test_utils.cc',
'test/geometry_test_utils.h',
+ 'test/impl_side_painting_settings.h',
'test/layer_test_common.cc',
'test/layer_test_common.h',
'test/layer_tree_pixel_test.cc',