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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/formatter-css.html

Issue 2886053002: DevTools: do not use Bindings.NetworkProject.styleHeaderForUISourceCode in SourceFormatter (Closed)
Patch Set: nits Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sources/SourceFormatter.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/sources/formatter-css.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/formatter-css.html b/third_party/WebKit/LayoutTests/inspector/sources/formatter-css.html
index 97a2c7a68164a7abf248f39eddac65d5f1905afc..d419afa6d6d6e96ec3b55c96bd9573dd24868b5d 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/formatter-css.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/formatter-css.html
@@ -14,7 +14,7 @@ async function test()
InspectorTest.addResult(`Formatted:\n${targetContent}`);
var originalContent = await uiSourceCode.requestContent();
- var styleHeader = Bindings.NetworkProject.styleHeaderForUISourceCode(uiSourceCode);
+ var styleHeader = Bindings.cssWorkspaceBinding.uiLocationToRawLocations(uiSourceCode.uiLocation(0, 0))[0].header();
var text = new TextUtils.Text(originalContent);
var liveLocationsPool = new Bindings.LiveLocationPool();
var locationUpdateCount = 0;
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sources/SourceFormatter.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698