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

Unified Diff: cc/tile_manager.cc

Issue 12252058: Add a |scope| argument to TRACE_EVENT_INSTANT* and require its presence. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use flags to record scope Created 7 years, 10 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: cc/tile_manager.cc
diff --git a/cc/tile_manager.cc b/cc/tile_manager.cc
index f87fe167ef62707310cc3291331e8f430144ab95..46577fdf2a565e298b110b56d7064809b4dc44bb 100644
--- a/cc/tile_manager.cc
+++ b/cc/tile_manager.cc
@@ -396,8 +396,8 @@ void TileManager::ManageTiles() {
// Assign gpu memory and determine what tiles need to be rasterized.
AssignGpuMemoryToTiles();
- TRACE_EVENT_INSTANT1("cc", "DidManage", "state",
- ValueToString(BasicStateAsValue()));
+ TRACE_EVENT_INSTANT1("cc", "DidManage", TRACE_EVENT_SCOPE_THREAD,
+ "state", ValueToString(BasicStateAsValue()));
// Finally, kick the rasterizer.
DispatchMoreTasks();

Powered by Google App Engine
This is Rietveld 408576698