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

Unified Diff: third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js

Issue 2801943003: [DevTools] Remove SDK.SDKObject (Closed)
Patch Set: Created 3 years, 8 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/extensions/ExtensionServer.js
diff --git a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
index ab810bc7b6dcf3acefdc1619dbe33781d375f601..5c945f034e74f27fc2309b6dc62305f6178e8bed 100644
--- a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
+++ b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
@@ -932,7 +932,7 @@ Extensions.ExtensionServer = class extends Common.Object {
else if (options.scriptExecutionContext)
contextSecurityOrigin = options.scriptExecutionContext;
- var runtimeModel = frame.target().model(SDK.RuntimeModel);
+ var runtimeModel = frame.resourceTreeModel().target().model(SDK.RuntimeModel);
var executionContexts = runtimeModel ? runtimeModel.executionContexts() : [];
if (contextSecurityOrigin) {
for (var i = 0; i < executionContexts.length; ++i) {

Powered by Google App Engine
This is Rietveld 408576698