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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/decode-resize.html

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/LayoutTests/inspector/tracing/decode-resize.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/decode-resize.html b/third_party/WebKit/LayoutTests/inspector/tracing/decode-resize.html
index eb2df3825ab803cc0abaaf24655a43ea7b4bf283..2f33e0dd1c065436b73f64af8e23b1dd9bfd883d 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/decode-resize.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/decode-resize.html
@@ -82,12 +82,12 @@ function test()
{
function isDecodeImageEvent(event)
{
- return event.name === WebInspector.TimelineModel.RecordType.DecodeImage;
+ return event.name === TimelineModel.TimelineModel.RecordType.DecodeImage;
}
function compareImageURLs(a, b)
{
- var urlA = WebInspector.TimelineData.forEvent(a).url;
- var urlB = WebInspector.TimelineData.forEvent(b).url;
+ var urlA = TimelineModel.TimelineData.forEvent(a).url;
+ var urlB = TimelineModel.TimelineData.forEvent(b).url;
urlA = InspectorTest.formatters.formatAsURL(urlA || "<missing>");
urlB = InspectorTest.formatters.formatAsURL(urlB || "<missing>");
return urlA.localeCompare(urlB);
@@ -96,10 +96,10 @@ function test()
var sortedDecodeEvents = events.filter(isDecodeImageEvent).sort(compareImageURLs);
for (var i = 0; i < sortedDecodeEvents.length; ++i) {
var event = sortedDecodeEvents[i];
- var timlelineData = WebInspector.TimelineData.forEvent(event);
+ var timlelineData = TimelineModel.TimelineData.forEvent(event);
var url = timlelineData.url;
// Skip duplicate events, as long as they have the imageURL
- if (i && url && url === WebInspector.TimelineData.forEvent(sortedDecodeEvents[i - 1]).url)
+ if (i && url && url === TimelineModel.TimelineData.forEvent(sortedDecodeEvents[i - 1]).url)
continue;
InspectorTest.addResult("event: " + event.name);
InspectorTest.addResult("imageURL: " + InspectorTest.formatters.formatAsURL(url));

Powered by Google App Engine
This is Rietveld 408576698