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

Side by Side Diff: sky/engine/platform/exported/WebConvertableToTraceFormat.cpp

Issue 889823002: Remove TRACE_EVENT indirection through blink::Platform (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 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 #include "sky/engine/config.h"
6 #include "sky/engine/public/platform/WebConvertableToTraceFormat.h"
7
8 #include "sky/engine/platform/EventTracer.h"
9 #include "sky/engine/public/platform/WebString.h"
10
11 namespace blink {
12
13 WebConvertableToTraceFormat::WebConvertableToTraceFormat(TraceEvent::Convertable ToTraceFormat* convertable)
14 : m_private(convertable)
15 {
16 }
17
18 WebString WebConvertableToTraceFormat::asTraceFormat() const
19 {
20 return m_private->asTraceFormat();
21 }
22
23 void WebConvertableToTraceFormat::assign(const WebConvertableToTraceFormat& r)
24 {
25 m_private = r.m_private;
26 }
27
28 void WebConvertableToTraceFormat::reset()
29 {
30 m_private.reset();
31 }
32
33 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/platform/TracedValueTest.cpp ('k') | sky/engine/platform/graphics/skia/NativeImageSkia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698