Index: third_party/WebKit/Source/devtools/front_end/css_tracker/CSSTrackerView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/css_tracker/CSSTrackerView.js b/third_party/WebKit/Source/devtools/front_end/css_tracker/CSSTrackerView.js |
index 51049b45243b01b48e18bc2adce586bff462c713..45effdd20789353846b53afb573cba6dd16b025e 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/css_tracker/CSSTrackerView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/css_tracker/CSSTrackerView.js |
@@ -395,7 +395,7 @@ CSSTracker.CSSTrackerView.LineDecorator = class { |
var decorations = uiSourceCode.decorationsForType(CSSTracker.CSSTrackerView.LineDecorator.type); |
textEditor.uninstallGutter(gutterType); |
- if (!decorations.size) |
+ if (!decorations || !decorations.size) |
return; |
textEditor.installGutter(gutterType, false); |