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

Unified Diff: Source/core/fetch/ResourceLoadPriorityOptimizer.cpp

Issue 342763002: Add tracing to ResourceLoadPriorityOptimizer::updateAllImageResourcePriorities (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix includes Created 6 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ResourceLoadPriorityOptimizer.cpp
diff --git a/Source/core/fetch/ResourceLoadPriorityOptimizer.cpp b/Source/core/fetch/ResourceLoadPriorityOptimizer.cpp
index 776f7f2d2c9ef579b43f3882ff996a603e4fccdb..7e99a0bc7210bdd0ce8730a2e400a0f858f54ea9 100644
--- a/Source/core/fetch/ResourceLoadPriorityOptimizer.cpp
+++ b/Source/core/fetch/ResourceLoadPriorityOptimizer.cpp
@@ -31,6 +31,7 @@
#include "config.h"
#include "core/fetch/ResourceLoadPriorityOptimizer.h"
#include "core/rendering/RenderObject.h"
+#include "platform/TraceEvent.h"
#include "wtf/Vector.h"
@@ -77,6 +78,8 @@ void ResourceLoadPriorityOptimizer::removeRenderObject(RenderObject* renderer)
void ResourceLoadPriorityOptimizer::updateAllImageResourcePriorities()
{
+ TRACE_EVENT0("webkit", "ResourceLoadPriorityOptimizer::updateAllImageResourcePriorities");
dsinclair 2014/06/18 18:37:52 I've seen some of these as "webkit" and some as "b
esprehn 2014/06/18 19:17:06 Lets use webkit for now, and rename them all to "b
+
m_imageResources.clear();
Vector<RenderObject*> objectsToRemove;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698