| Index: third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js b/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js
|
| index 25f24a4f22eec457308a1374ec1cb99d854bbaee..ef87846425a9bcd865817581c96120612df88224 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js
|
| @@ -245,10 +245,12 @@ WebInspector.ScreencastView.prototype = {
|
| {
|
| if (!node)
|
| return;
|
| - if (event.type === "mousemove")
|
| + if (event.type === "mousemove") {
|
| this.highlightDOMNode(node, this._inspectModeConfig);
|
| - else if (event.type === "click")
|
| + this._domModel.nodeHighlightRequested(node.id);
|
| + } else if (event.type === "click") {
|
| WebInspector.Revealer.reveal(node);
|
| + }
|
| }
|
| },
|
|
|
| @@ -513,21 +515,6 @@ WebInspector.ScreencastView.prototype = {
|
|
|
| },
|
|
|
| -
|
| - /**
|
| - * @param {!DOMAgent.Quad} quad1
|
| - * @param {!DOMAgent.Quad} quad2
|
| - * @return {boolean}
|
| - */
|
| - _quadsAreEqual: function(quad1, quad2)
|
| - {
|
| - for (var i = 0; i < quad1.length; ++i) {
|
| - if (quad1[i] !== quad2[i])
|
| - return false;
|
| - }
|
| - return true;
|
| - },
|
| -
|
| /**
|
| * @param {!DOMAgent.RGBA} color
|
| * @return {string}
|
|
|