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

Unified Diff: third_party/WebKit/Source/devtools/front_end/layers/LayerTreeModel.js

Issue 2543633009: [Devtools] Template fromTarget() function calls to model (Closed)
Patch Set: fix 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/resources/DOMStorageModel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/layers/LayerTreeModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/layers/LayerTreeModel.js b/third_party/WebKit/Source/devtools/front_end/layers/LayerTreeModel.js
index 33b83c68cc601821767a7d556fca162995c7a939..1729feb4b926032f61225527055ab4e02179b5a7 100644
--- a/third_party/WebKit/Source/devtools/front_end/layers/LayerTreeModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/layers/LayerTreeModel.js
@@ -48,7 +48,7 @@ Layers.LayerTreeModel = class extends SDK.SDKModel {
if (!target.hasDOMCapability())
return null;
- var model = /** @type {?Layers.LayerTreeModel} */ (target.model(Layers.LayerTreeModel));
+ var model = target.model(Layers.LayerTreeModel);
if (!model)
model = new Layers.LayerTreeModel(target);
return model;
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/resources/DOMStorageModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698