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

Unified Diff: Source/core/inspector/InspectorInstrumentation.cpp

Issue 14741014: Timeline: add reference to root node of layer in Rasterize event (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.h ('k') | Source/core/inspector/InspectorTimelineAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.h ('k') | Source/core/inspector/InspectorTimelineAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698