Index: Source/core/inspector/InspectorTraceEvents.cpp |
diff --git a/Source/core/inspector/InspectorTraceEvents.cpp b/Source/core/inspector/InspectorTraceEvents.cpp |
index 2fd955c2b74ecf3b5bfb45d8aa165dcf85aba0cf..59603efeaad497940332781d493f9eae3179fe0f 100644 |
--- a/Source/core/inspector/InspectorTraceEvents.cpp |
+++ b/Source/core/inspector/InspectorTraceEvents.cpp |
@@ -257,6 +257,22 @@ static void localToPageQuad(const RenderObject& renderer, const LayoutRect& rect |
quad->setP4(view->contentsToRootView(roundedIntPoint(absolute.p4()))); |
} |
+const char InspectorLayerInvalidationTrackingEvent::SquashingLayerGeometryWasUpdated[] = "Squashing layer geometry was updated."; |
+const char InspectorLayerInvalidationTrackingEvent::AddedToSquashingLayer[] = "The layer may have been added to an already-existing squashing layer."; |
+const char InspectorLayerInvalidationTrackingEvent::RemovedFromSquashingLayer[] = "Removed the layer from a squashed layer."; |
chrishtr
2014/09/12 01:22:46
"Removed the layer from a squashing layer"
|
+const char InspectorLayerInvalidationTrackingEvent::ReflectionLayerChanged[] = "Reflection layer change."; |
+const char InspectorLayerInvalidationTrackingEvent::NewCompositedLayer[] = "Assigned a new composited layer."; |
+const char InspectorLayerInvalidationTrackingEvent::AncestorRequiresNewLayer[] = "A new composited layer is needed based on the RenderLayer's compositing ancestor's properties."; |
+ |
+PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorLayerInvalidationTrackingEvent::data(const RenderObject* paintInvalidationContainer, const char* reason) |
+{ |
+ RefPtr<TracedValue> value = TracedValue::create(); |
+ value->setString("frame", toHexString(paintInvalidationContainer->frame())); |
+ setGeneratingNodeId(value.get(), "paintId", paintInvalidationContainer); |
+ value->setString("reason", reason); |
+ return value; |
+} |
+ |
PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorPaintEvent::data(RenderObject* renderer, const LayoutRect& clipRect, const GraphicsLayer* graphicsLayer) |
{ |
RefPtr<TracedValue> value = TracedValue::create(); |