| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef SKIA_EXT_SKIA_TRACE_SHIM_H_ | |
| 6 #define SKIA_EXT_SKIA_TRACE_SHIM_H_ | |
| 7 | |
| 8 #include "base/debug/trace_event.h" | |
| 9 | |
| 10 #define SK_TRACE_EVENT0(name) \ | |
| 11 TRACE_EVENT0("skia", name) | |
| 12 #define SK_TRACE_EVENT1(name, arg1_name, arg1_val) \ | |
| 13 TRACE_EVENT1("skia", name, arg1_name, arg1_val) | |
| 14 #define SK_TRACE_EVENT2(name, arg1_name, arg1_val, arg2_name, arg2_val) \ | |
| 15 TRACE_EVENT1("skia", name, arg1_name, arg1_val, arg2_name, arg2_val) | |
| 16 | |
| 17 #endif | |
| OLD | NEW |