Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix create OnScreen surface on Mac for compositor_unittests
After issue https://codereview.chromium.org/227473009 there is no code for create OnScreen surface for Mac which is using in compositor_unittests. Result: 18 tests crashed: LayerWithDelegateTest.ConvertPointToLayer_Medium LayerWithDelegateTest.ConvertPointToLayer_Simple LayerWithDelegateTest.DelegatedLayer LayerWithDelegateTest.SchedulePaintFromOnPaintLayer LayerWithDelegateTest.SetBoundsWhenInvisible LayerWithNullDelegateTest.SetBoundsSchedulesPaint LayerWithNullDelegateTest.Visibility LayerWithRealCompositorTest.CompositorObservers LayerWithRealCompositorTest.Delegate LayerWithRealCompositorTest.Draw LayerWithRealCompositorTest.DrawPixels LayerWithRealCompositorTest.DrawTree LayerWithRealCompositorTest.Hierarchy LayerWithRealCompositorTest.HierarchyNoTexture LayerWithRealCompositorTest.ModifyHierarchy LayerWithRealCompositorTest.Opacity LayerWithRealCompositorTest.ScaleReparent LayerWithRealCompositorTest.ScaleUpDown If surface is created then all tests passed. R=sievers@chromium.org, ccameron1@chromium.org, danakj@chromium.org TEST=compositor_unittests Review URL: https://codereview.chromium.org/504933002 Cr-Commit-Position: refs/heads/master@{#291863}
- Loading branch information