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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp

Issue 2623613008: Add a new top-level inspector timeline event for the PrePaint step (Closed)
Patch Set: Created 3 years, 11 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/core/inspector/InspectorTraceEvents.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp
index 8280c6a3594906154b5548b4b56c696fc44cbd72..bb9fc2646fabd8239c080770e17c035f962dbd09 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp
@@ -774,6 +774,13 @@ std::unique_ptr<TracedValue> InspectorLayerInvalidationTrackingEvent::data(
return value;
}
+std::unique_ptr<TracedValue> InspectorPreparePaintEvent::data(
+ LocalFrame* frame) {
+ std::unique_ptr<TracedValue> value = TracedValue::create();
+ value->setString("frame", toHexString(frame));
+ return value;
+}
+
std::unique_ptr<TracedValue> InspectorPaintEvent::data(
LayoutObject* layoutObject,
const LayoutRect& clipRect,

Powered by Google App Engine
This is Rietveld 408576698