| Index: third_party/WebKit/LayoutTests/inspector/editor/php-highlighter.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/editor/php-highlighter.html b/third_party/WebKit/LayoutTests/inspector/editor/php-highlighter.html
|
| index 86e276d71cc3dc6af9550c6491bbfadef160f579..57e54a6ac586217afd676ec00d1265c443514f49 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/editor/php-highlighter.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/editor/php-highlighter.html
|
| @@ -7,8 +7,7 @@ function test()
|
| {
|
| var mimeType = "text/x-php";
|
| var textEditor = InspectorTest.createTestEditor();
|
| - InspectorTest.addSniffer(textEditor, "_mimeTypeModesLoadedForTest", onModesLoaded);
|
| - textEditor.setMimeType(mimeType);
|
| + textEditor.setMimeType(mimeType).then(onModesLoaded);
|
|
|
| function onModesLoaded()
|
| {
|
|
|