Index: Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js |
diff --git a/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js b/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js |
index 581d01f5f2e924e51870f33b4977cdd79432582f..5fc072e8357a6873c1f5d6bcfd202699695fcc88 100644 |
--- a/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js |
+++ b/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js |
@@ -254,8 +254,9 @@ WebInspector.WatchExpression.prototype = { |
update: function() |
{ |
var currentExecutionContext = WebInspector.context.flavor(WebInspector.ExecutionContext); |
- if (currentExecutionContext && this._expression) |
- currentExecutionContext.evaluate(this._expression, WebInspector.WatchExpression._watchObjectGroupId, false, true, false, false, this._createWatchExpression.bind(this)); |
+ if (currentExecutionContext && this._expression) { |
+ new WebInspector.MultiLingualExecutionContext(currentExecutionContext).evaluate(this._expression, WebInspector.WatchExpression._watchObjectGroupId, false, true, false, false, this._createWatchExpression.bind(this)); |
+ } |
}, |
startEditing: function() |