| Index: third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js b/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js
|
| index 2b8866e2b8ce8fc7a2e11f570a820ffd954b580b..7fd36524368405e12bbf0d8879feeb2759b2cb2e 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js
|
| @@ -96,7 +96,7 @@ WebInspector.CSSSourceFrame.prototype = {
|
| return false;
|
|
|
| var cssUnitRange = new WebInspector.TextRange(selection.startLine, token.startColumn, selection.startLine, token.endColumn);
|
| - var cssUnitText = this.textEditor.copyRange(cssUnitRange);
|
| + var cssUnitText = this.textEditor.text(cssUnitRange);
|
| var newUnitText = this._modifyUnit(cssUnitText, change);
|
| if (!newUnitText)
|
| return false;
|
| @@ -272,7 +272,7 @@ WebInspector.CSSSourceFrame.prototype = {
|
| */
|
| _cssSuggestions: function(prefixRange, substituteRange)
|
| {
|
| - var prefix = this._textEditor.copyRange(prefixRange);
|
| + var prefix = this._textEditor.text(prefixRange);
|
| if (prefix.startsWith("$"))
|
| return null;
|
|
|
|
|