summaryrefslogtreecommitdiffstats
path: root/cc/cc_tests.gyp
diff options
context:
space:
mode:
authorboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-11 19:28:53 +0000
committerboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-11 19:28:53 +0000
commitb4f9445f07e130dde5d6b73fe71c011edd1d1f24 (patch)
tree9d74e1166016c4e42332c81f7c51bee0855d4b74 /cc/cc_tests.gyp
parent66ef60660550905bda982c23591d7507725617d8 (diff)
downloadchromium_src-b4f9445f07e130dde5d6b73fe71c011edd1d1f24.zip
chromium_src-b4f9445f07e130dde5d6b73fe71c011edd1d1f24.tar.gz
chromium_src-b4f9445f07e130dde5d6b73fe71c011edd1d1f24.tar.bz2
cc: Fix HeadsUpDisplayLayerImpl NPE after resource loss
Currently will NPE in HeadsUpDisplayLayerImpl::UpdateHudTexture immediately after a DidLoseOutputSurface call that throws away the resource. Resource loss can happen quite frequently under normal usage in Android WebView. Also fixed a condition WillDraw as writing the test for issue above. Fix for internal bug b/11164012. TEST=HeadsUpDisplayLayerImplTest.UpdateAfterResourceLoss BUG= Review URL: https://codereview.chromium.org/26277008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228222 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/cc_tests.gyp')
-rw-r--r--cc/cc_tests.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/cc_tests.gyp b/cc/cc_tests.gyp
index 7d96d4c..ca2e861 100644
--- a/cc/cc_tests.gyp
+++ b/cc/cc_tests.gyp
@@ -25,6 +25,7 @@
'layers/delegated_frame_provider_unittest.cc',
'layers/delegated_renderer_layer_impl_unittest.cc',
'layers/heads_up_display_unittest.cc',
+ 'layers/heads_up_display_layer_impl_unittest.cc',
'layers/layer_impl_unittest.cc',
'layers/layer_iterator_unittest.cc',
'layers/layer_position_constraint_unittest.cc',