| Index: Source/core/inspector/InspectorInstrumentation.cpp
|
| diff --git a/Source/core/inspector/InspectorInstrumentation.cpp b/Source/core/inspector/InspectorInstrumentation.cpp
|
| index 6631f98f4a3be3d5b98f6c932e23e0a6b6fbfe0e..0d65f6e89e79a524caf1177fd4ac6a60e006d2a2 100644
|
| --- a/Source/core/inspector/InspectorInstrumentation.cpp
|
| +++ b/Source/core/inspector/InspectorInstrumentation.cpp
|
| @@ -79,8 +79,6 @@
|
| #include <wtf/StdLibExtras.h>
|
| #include <wtf/text/CString.h>
|
|
|
| -#include "core/platform/chromium/TraceEvent.h"
|
| -
|
| namespace WebCore {
|
|
|
| static const char* const requestAnimationFrameEventName = "requestAnimationFrame";
|
| @@ -486,10 +484,8 @@ void didDispatchXHRLoadEventImpl(const InspectorInstrumentationCookie& cookie)
|
|
|
| void willPaintImpl(InstrumentingAgents* instrumentingAgents, RenderObject* renderer)
|
| {
|
| - TRACE_EVENT_INSTANT1("instrumentation", InstrumentationEvents::Paint, InstrumentationEventArguments::PageId, reinterpret_cast<unsigned long long>(renderer->frame()->page()));
|
| -
|
| if (InspectorTimelineAgent* timelineAgent = instrumentingAgents->inspectorTimelineAgent())
|
| - timelineAgent->willPaint(renderer->frame());
|
| + timelineAgent->willPaint(renderer);
|
| }
|
|
|
| void didPaintImpl(InstrumentingAgents* instrumentingAgents, RenderObject* renderer, GraphicsContext* context, const LayoutRect& rect)
|
| @@ -1335,6 +1331,7 @@ const char BeginFrame[] = "BeginFrame";
|
| namespace InstrumentationEventArguments {
|
| const char LayerId[] = "layerId";
|
| const char PageId[] = "pageId";
|
| +const char NodeId[] = "nodeId";
|
| };
|
|
|
| } // namespace WebCore
|
|
|