| Index: third_party/WebKit/LayoutTests/inspector/editor/text-editor-token-at-position.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-token-at-position.html b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-token-at-position.html
|
| index 42bef4eead6aed87cafc615cfc0c97f92db841d8..3d98e2c38ef1664891d46643cf53d831c65f5e76 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-token-at-position.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-token-at-position.html
|
| @@ -35,7 +35,8 @@ function test()
|
| function testHighlightedText(next)
|
| {
|
| var textEditor = InspectorTest.createTestEditor();
|
| - textEditor.setMimeType("text/javascript").then(step1);
|
| + InspectorTest.addSnifferPromise(SourceFrame.SourcesTextEditor.prototype, "rewriteMimeType").then(step1);
|
| + textEditor.setMimeType("text/javascript");
|
| function step1()
|
| {
|
| textEditor.setText(text.join("\n"));
|
|
|