| Index: third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| index 71d3be274d7037a8aa597f5e5f08199b37fc1d2f..f5df6d8e6fa1458f4d7172e3fa7060128bfc3366 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| @@ -635,7 +635,7 @@ void LayoutTheme::adjustMenuListButtonStyle(ComputedStyle&, Element*) const
|
|
|
| void LayoutTheme::adjustSliderContainerStyle(ComputedStyle& style, Element* e) const
|
| {
|
| - if (e->shadowPseudoId() == "-webkit-media-slider-container" || e->shadowPseudoId() == "-webkit-slider-container") {
|
| + if (e && (e->shadowPseudoId() == "-webkit-media-slider-container" || e->shadowPseudoId() == "-webkit-slider-container")) {
|
| if (style.appearance() == SliderVerticalPart) {
|
| style.setTouchAction(TouchActionPanX);
|
| style.setAppearance(NoControlPart);
|
|
|