eaddac6d26
bug:8666842 In SW rendering, a previous optimization avoided clipping to the bounds of views that are layers. This breaks if the view fails to create a layer (such as if it's too big), so instead look at whether the view has a layer. Change-Id: I653882035512012aefd91f06ff0bdc73aa5e4430