Stop using legacy GrContext member function aliases.
[chromium-blink-merge.git] / skia / ext / skia_trace_shim.h
blob62bdecc4ce7d650ec2fdd5f8058d3f2b49d2c931
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.
5 #ifndef SKIA_EXT_SKIA_TRACE_SHIM_H_
6 #define SKIA_EXT_SKIA_TRACE_SHIM_H_
8 #include "base/debug/trace_event.h"
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)
17 #endif