Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(793)

Unified Diff: third_party/WebKit/Source/devtools/front_end/layer_viewer/Layers3DView.js

Issue 2560043005: DevTools: Remove unused variables. Disallow unused variables with eslint (Closed)
Patch Set: A new unused variable was born Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/layer_viewer/Layers3DView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/layer_viewer/Layers3DView.js b/third_party/WebKit/Source/devtools/front_end/layer_viewer/Layers3DView.js
index 3acc1f6e7d67caf6a93c5d36953fa02b50e6805c..d858affe27da0cf41041ee71174649a5722d7fc7 100644
--- a/third_party/WebKit/Source/devtools/front_end/layer_viewer/Layers3DView.js
+++ b/third_party/WebKit/Source/devtools/front_end/layer_viewer/Layers3DView.js
@@ -231,7 +231,6 @@ LayerViewer.Layers3DView = class extends UI.VBox {
_updateTransformAndConstraints() {
var paddingFraction = 0.1;
var viewport = this._layerTree.viewportSize();
- var root = this._layerTree.root();
var baseWidth = viewport ? viewport.width : this._dimensionsForAutoscale.width;
var baseHeight = viewport ? viewport.height : this._dimensionsForAutoscale.height;
var canvasWidth = this._canvasElement.width;

Powered by Google App Engine
This is Rietveld 408576698