diff --git a/components/List/src/MDCBaseCell.m b/components/List/src/MDCBaseCell.m index 7efcbfca0e8..fa8bc431efc 100644 --- a/components/List/src/MDCBaseCell.m +++ b/components/List/src/MDCBaseCell.m @@ -15,8 +15,10 @@ #import "MDCBaseCell.h" #import "MDCSelfSizingLayoutAttributes.h" +#import "MaterialElevation.h" #import "MaterialInk.h" #import "MaterialRipple.h" +#import "MaterialShadowElevations.h" #import "MaterialShadowLayer.h" @interface MDCBaseCell () @@ -208,7 +210,7 @@ - (UIColor *)rippleColor { } - (MDCShadowLayer *)shadowLayer { - if ([self.layer isMemberOfClass:[MDCShadowLayer class]]) { + if ([self.layer isKindOfClass:[MDCShadowLayer class]]) { return (MDCShadowLayer *)self.layer; } return nil;