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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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/components/RemoteObjectPreviewFormatter.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js b/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js
index a1a30daad2b7a116298878e1939ecb4e321885cf..a3e780d336f72591d36fa8cde1676b598cad1bba 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js
@@ -4,7 +4,7 @@
/**
* @unrestricted
*/
-WebInspector.RemoteObjectPreviewFormatter = class {
+Components.RemoteObjectPreviewFormatter = class {
/**
* @param {!Element} parentElement
* @param {!Protocol.Runtime.ObjectPreview} preview
@@ -42,7 +42,7 @@ WebInspector.RemoteObjectPreviewFormatter = class {
*/
_appendPropertiesPreview(parentElement, preview) {
var isArray = preview.subtype === 'array' || preview.subtype === 'typedarray';
- var arrayLength = WebInspector.RemoteObject.arrayLength(preview);
+ var arrayLength = SDK.RemoteObject.arrayLength(preview);
var properties = preview.properties;
if (isArray)
properties = properties.slice().stableSort(compareIndexesFirst);
@@ -153,7 +153,7 @@ WebInspector.RemoteObjectPreviewFormatter = class {
}
if (type === 'object' && subtype === 'node' && description) {
- WebInspector.DOMPresentationUtils.createSpansForNodeTitle(span, description);
+ Components.DOMPresentationUtils.createSpansForNodeTitle(span, description);
return span;
}

Powered by Google App Engine
This is Rietveld 408576698