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

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

Issue 2758963002: [DevTools] Remove dependency from TargetManager to ResourceTreeModel (Closed)
Patch Set: review comments addressed 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/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 570f06e4361cd22ef18d3b32259e999e9c934946..12f8032a09fd6f53d7464938bb5a1d98a15dde23 100644
--- a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
+++ b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
@@ -422,7 +422,7 @@ Extensions.ExtensionServer = class extends Common.Object {
var injectedScript;
if (options.injectedScript)
injectedScript = '(function(){' + options.injectedScript + '})()';
- SDK.targetManager.reloadPage(!!options.ignoreCache, injectedScript);
+ SDK.ResourceTreeModel.reloadAllPages(!!options.ignoreCache, injectedScript);
return this._status.OK();
}

Powered by Google App Engine
This is Rietveld 408576698