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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/SecurityOriginManager.js

Issue 2782773002: [DevTools] Remove SDKModels' fromTarget methods (Closed)
Patch Set: addressed review comments Created 3 years, 9 months 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/sdk/SecurityOriginManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/SecurityOriginManager.js b/third_party/WebKit/Source/devtools/front_end/sdk/SecurityOriginManager.js
index 450c52024fbbbef324dcd1f098d3bbb075c7f85c..e8ad6f91460b9c09536bc8c2aa2319a76eadb4c8 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/SecurityOriginManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/SecurityOriginManager.js
@@ -17,14 +17,6 @@ SDK.SecurityOriginManager = class extends SDK.SDKModel {
}
/**
- * @param {!SDK.Target} target
- * @return {!SDK.SecurityOriginManager}
- */
- static fromTarget(target) {
- return /** @type {!SDK.SecurityOriginManager} */ (target.model(SDK.SecurityOriginManager));
- }
-
- /**
* @param {!Set<string>} securityOrigins
*/
updateSecurityOrigins(securityOrigins) {

Powered by Google App Engine
This is Rietveld 408576698