Index: third_party/WebKit/Source/devtools/front_end/Tests.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/Tests.js b/third_party/WebKit/Source/devtools/front_end/Tests.js |
index 4ac330f5240967600ddbb4064e084c6ec658fabf..c92b7e386119098dd87c10c2525e617c00975e4a 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/Tests.js |
+++ b/third_party/WebKit/Source/devtools/front_end/Tests.js |
@@ -1110,7 +1110,7 @@ TestSuite.prototype.evaluateInConsole_ = function(code, callback) |
WebInspector.context.removeFlavorChangeListener(WebInspector.ExecutionContext, showConsoleAndEvaluate, this); |
var consoleView = WebInspector.ConsoleView.instance(); |
consoleView._prompt.setText(code); |
- consoleView._promptElement.dispatchEvent(TestSuite.createKeyEvent("Enter")); |
+ consoleView._prompt.element.dispatchEvent(TestSuite.createKeyEvent("Enter")); |
this.addSniffer(WebInspector.ConsoleView.prototype, "_consoleMessageAddedForTest", |
function(viewMessage) { |