Chromium Code Reviews| 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 || ""; |
|
yurys
2015/07/16 16:30:35
I wonder why JS compiler didn't catch this?
dgozman
2015/07/17 14:39:16
Probably because this._content was not initialized
|
| }, |
| resetWorkingCopy: function() |