| 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 #pragma once |
| 8 |
| 9 #include "base/debug/trace_event.h" |
| 10 |
| 11 #define SK_TRACE_EVENT0(name) \ |
| 12 TRACE_EVENT0("skia", name) |
| 13 #define SK_TRACE_EVENT1(name, arg1_name, arg1_val) \ |
| 14 TRACE_EVENT1("skia", name, arg1_name, arg1_val) |
| 15 #define SK_TRACE_EVENT2(name, arg1_name, arg1_val, arg2_name, arg2_val) \ |
| 16 TRACE_EVENT1("skia", name, arg1_name, arg1_val, arg2_name, arg2_val) |
| 17 |
| 18 #endif |
| OLD | NEW |