Index: Source/devtools/front_end/workspace/UISourceCode.js |
diff --git a/Source/devtools/front_end/workspace/UISourceCode.js b/Source/devtools/front_end/workspace/UISourceCode.js |
index 1b374623fc42f589f914df608d9aaf80055a6e1d..267e58df5f251929a82c5aac3602193ae3f88943 100644 |
--- a/Source/devtools/front_end/workspace/UISourceCode.js |
+++ b/Source/devtools/front_end/workspace/UISourceCode.js |
@@ -462,7 +462,7 @@ WebInspector.UISourceCode.prototype = { |
} |
if (this.isDirty()) |
return this._workingCopy; |
- return this._content; |
+ return this._content || ""; |
pfeldman
2015/08/11 23:22:43
why is this necessary?
dgozman
2015/08/12 23:22:12
Extracted into separate patch.
|
}, |
resetWorkingCopy: function() |