| Index: third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| index b712caec39202e087977898903fd4721db843ef4..f21b1be2aeb4bf1173ed783ef1f680e5ac5f1182 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| @@ -498,12 +498,7 @@ WebInspector.UISourceCode.prototype = {
|
| */
|
| extension: function()
|
| {
|
| - var lastIndexOfDot = this._name.lastIndexOf(".");
|
| - var extension = lastIndexOfDot !== -1 ? this._name.substr(lastIndexOfDot + 1) : "";
|
| - var indexOfQuestionMark = extension.indexOf("?");
|
| - if (indexOfQuestionMark !== -1)
|
| - extension = extension.substr(0, indexOfQuestionMark);
|
| - return extension;
|
| + return WebInspector.TextUtils.extension(this._name);
|
| },
|
|
|
| /**
|
|
|