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

Unified Diff: third_party/WebKit/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotLoader.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/heap_snapshot_worker/HeapSnapshotLoader.js
diff --git a/third_party/WebKit/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotLoader.js b/third_party/WebKit/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotLoader.js
index b6c707b33bcc1d89f710aac361e24aaa1bcf5afe..a244d2cc5e3f187e8252a823500d1dca66e0b731 100644
--- a/third_party/WebKit/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotLoader.js
+++ b/third_party/WebKit/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotLoader.js
@@ -31,13 +31,13 @@
/**
* @unrestricted
*/
-WebInspector.HeapSnapshotLoader = class {
+HeapSnapshotWorker.HeapSnapshotLoader = class {
/**
- * @param {!WebInspector.HeapSnapshotWorkerDispatcher} dispatcher
+ * @param {!HeapSnapshotWorker.HeapSnapshotWorkerDispatcher} dispatcher
*/
constructor(dispatcher) {
this._reset();
- this._progress = new WebInspector.HeapSnapshotProgress(dispatcher);
+ this._progress = new HeapSnapshotWorker.HeapSnapshotProgress(dispatcher);
}
dispose() {
@@ -56,11 +56,11 @@ WebInspector.HeapSnapshotLoader = class {
}
/**
- * @return {!WebInspector.JSHeapSnapshot}
+ * @return {!HeapSnapshotWorker.JSHeapSnapshot}
*/
buildSnapshot() {
this._progress.updateStatus('Processing snapshot\u2026');
- var result = new WebInspector.JSHeapSnapshot(this._snapshot, this._progress);
+ var result = new HeapSnapshotWorker.JSHeapSnapshot(this._snapshot, this._progress);
this._reset();
return result;
}
@@ -129,7 +129,7 @@ WebInspector.HeapSnapshotLoader = class {
this._state = 'parse-snapshot-info';
this._progress.updateStatus('Loading snapshot info\u2026');
this._json = null; // tokenizer takes over input.
- this._jsonTokenizer = new WebInspector.TextUtils.BalancedJSONTokenizer(this._writeBalancedJSON.bind(this));
+ this._jsonTokenizer = new Common.TextUtils.BalancedJSONTokenizer(this._writeBalancedJSON.bind(this));
// Fall through with adjusted payload.
chunk = json;
}

Powered by Google App Engine
This is Rietveld 408576698