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

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelineModel.js

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/devtools/front_end/timeline/TimelineModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineModel.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineModel.js
index 6609c624caee7ff510c537ca8fc394132ea90d93..824f26565e5f61b9b00e58cf6062781ec19f329e 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineModel.js
@@ -57,8 +57,8 @@ WebInspector.TimelineModel.RecordType = {
DrawFrame: "DrawFrame",
HitTest: "HitTest",
ScheduleStyleRecalculation: "ScheduleStyleRecalculation",
- RecalculateStyles: "RecalculateStyles", // For backwards compatibility only, now replaced by UpdateLayoutTree.
- UpdateLayoutTree: "UpdateLayoutTree",
samli 2016/05/10 03:44:00 I think this might actually need to stick around f
+ RecalculateStyles: "RecalculateStyles", // For backwards compatibility only, now replaced by UpdateStyleAndLayoutTree.
+ UpdateStyleAndLayoutTree: "UpdateStyleAndLayoutTree",
InvalidateLayout: "InvalidateLayout",
Layout: "Layout",
UpdateLayer: "UpdateLayer",
@@ -824,7 +824,7 @@ WebInspector.TimelineModel.prototype = {
this._lastScheduleStyleRecalculation[event.args["data"]["frame"]] = event;
break;
- case recordTypes.UpdateLayoutTree:
+ case recordTypes.UpdateStyleAndLayoutTree:
case recordTypes.RecalculateStyles:
this._invalidationTracker.didRecalcStyle(event);
if (event.args["beginData"])

Powered by Google App Engine
This is Rietveld 408576698