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

Side by Side Diff: content/browser/compositor/browser_compositor_view_mac.mm

Issue 872363004: Mechanical rename of tracing includes for /content [3/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo windows changes 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/compositor/browser_compositor_view_mac.h" 5 #include "content/browser/compositor/browser_compositor_view_mac.h"
6 6
7 #include "base/debug/trace_event.h"
8 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/trace_event/trace_event.h"
9 #include "content/browser/compositor/image_transport_factory.h" 9 #include "content/browser/compositor/image_transport_factory.h"
10 #include "content/browser/gpu/gpu_data_manager_impl.h" 10 #include "content/browser/gpu/gpu_data_manager_impl.h"
11 #include "content/browser/renderer_host/render_widget_resize_helper.h" 11 #include "content/browser/renderer_host/render_widget_resize_helper.h"
12 #include "content/public/browser/context_factory.h" 12 #include "content/public/browser/context_factory.h"
13 #include "gpu/config/gpu_driver_bug_workaround_type.h" 13 #include "gpu/config/gpu_driver_bug_workaround_type.h"
14 #include "ui/accelerated_widget_mac/accelerated_widget_mac.h" 14 #include "ui/accelerated_widget_mac/accelerated_widget_mac.h"
15 15
16 //////////////////////////////////////////////////////////////////////////////// 16 ////////////////////////////////////////////////////////////////////////////////
17 // BrowserCompositorMac 17 // BrowserCompositorMac
18 18
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 DCHECK_GT(g_placeholder_count, 0u); 94 DCHECK_GT(g_placeholder_count, 0u);
95 g_placeholder_count -= 1; 95 g_placeholder_count -= 1;
96 96
97 // If there are no placeholders allocated, destroy the recyclable 97 // If there are no placeholders allocated, destroy the recyclable
98 // BrowserCompositorMac. 98 // BrowserCompositorMac.
99 if (!g_placeholder_count) 99 if (!g_placeholder_count)
100 g_recyclable_browser_compositor.Get().reset(); 100 g_recyclable_browser_compositor.Get().reset();
101 } 101 }
102 102
103 } // namespace content 103 } // namespace content
OLDNEW
« no previous file with comments | « content/app/content_main_runner.cc ('k') | content/browser/renderer_host/render_widget_host_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698