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

Side by Side Diff: content/browser/renderer_host/display_link_mac.cc

Issue 866803003: Mechanical rename of tracing includes for /content [1/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part2
Patch Set: Created 5 years, 11 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/display_link_mac.h" 5 #include "content/browser/renderer_host/display_link_mac.h"
6 6
7 #include "base/debug/trace_event.h"
8 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/trace_event/trace_event.h"
9 9
10 namespace base { 10 namespace base {
11 11
12 template<> 12 template<>
13 struct ScopedTypeRefTraits<CVDisplayLinkRef> { 13 struct ScopedTypeRefTraits<CVDisplayLinkRef> {
14 static void Retain(CVDisplayLinkRef object) { 14 static void Retain(CVDisplayLinkRef object) {
15 CVDisplayLinkRetain(object); 15 CVDisplayLinkRetain(object);
16 } 16 }
17 static void Release(CVDisplayLinkRef object) { 17 static void Release(CVDisplayLinkRef object) {
18 CVDisplayLinkRelease(object); 18 CVDisplayLinkRelease(object);
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 display_link_mac->Tick(output_time); 151 display_link_mac->Tick(output_time);
152 return kCVReturnSuccess; 152 return kCVReturnSuccess;
153 } 153 }
154 154
155 // static 155 // static
156 base::LazyInstance<DisplayLinkMac::DisplayMap> 156 base::LazyInstance<DisplayLinkMac::DisplayMap>
157 DisplayLinkMac::display_map_ = LAZY_INSTANCE_INITIALIZER; 157 DisplayLinkMac::display_map_ = LAZY_INSTANCE_INITIALIZER;
158 158
159 } // content 159 } // content
160 160
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698