summaryrefslogtreecommitdiff
path: root/Source/WebCore/inspector/front-end/TextEditor.js
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/inspector/front-end/TextEditor.js')
-rw-r--r--Source/WebCore/inspector/front-end/TextEditor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/inspector/front-end/TextEditor.js b/Source/WebCore/inspector/front-end/TextEditor.js
index f0b0544b9..9ca824d1e 100644
--- a/Source/WebCore/inspector/front-end/TextEditor.js
+++ b/Source/WebCore/inspector/front-end/TextEditor.js
@@ -357,7 +357,7 @@ WebInspector.TextEditor.prototype = {
this._delegate.commitEditing();
if (this._url && WebInspector.fileManager.isURLSaved(this._url))
- WebInspector.fileManager.save(this._url, this._textModel.text, false);
+ WebInspector.fileManager.save(this._url, this._textModel.text(), false);
return true;
},