| Index: third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
|
| index 247f2ea653ef81923ac6e580628d71983f360d2c..35bc0f829e87970b485e36e52857f2b173f6b8b3 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
|
| @@ -95,7 +95,7 @@ WebInspector.SourcesView.uiSourceCodeHighlighterType = function(uiSourceCode)
|
| if (networkContentType)
|
| return networkContentType.canonicalMimeType();
|
|
|
| - var mimeType = WebInspector.ResourceType.mimeTypesForExtensions[uiSourceCode.extension().toLowerCase()];
|
| + var mimeType = WebInspector.ResourceType.mimeFromURL(uiSourceCode.uri());
|
| return mimeType || uiSourceCode.contentType().canonicalMimeType();
|
| }
|
|
|
|
|