Index: skia/ext/platform_canvas_linux.cc |
diff --git a/skia/ext/platform_canvas_linux.cc b/skia/ext/platform_canvas_linux.cc |
index 09a0ff4ec8a4b188e1561fa5eae852f617316429..076525e2dd92fb7fd9c40360c81239a5e800ebfc 100644 |
--- a/skia/ext/platform_canvas_linux.cc |
+++ b/skia/ext/platform_canvas_linux.cc |
@@ -4,6 +4,7 @@ |
#include "skia/ext/platform_canvas.h" |
+#include "base/debug/trace_event.h" |
#include "skia/ext/bitmap_platform_device.h" |
#include "skia/ext/platform_device.h" |
#include "third_party/skia/include/core/SkTypes.h" |
@@ -11,6 +12,8 @@ |
namespace skia { |
PlatformCanvas::PlatformCanvas(int width, int height, bool is_opaque) { |
+ TRACE_EVENT2("skia", "PlatformCanvas::PlatformCanvas", |
(unused - use chromium)
2011/11/01 18:47:55
For mac and windows too?
piman
2011/11/01 19:19:02
Done.
|
+ "width", width, "height", height); |
if (!initialize(width, height, is_opaque)) |
SK_CRASH(); |
} |