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

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

Issue 195803003: cc: Remove OverdrawMetrics and --trace-overdraw flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-overdraw: switches Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1119 cc::switches::kShowOccludingRects, 1119 cc::switches::kShowOccludingRects,
1120 cc::switches::kShowPropertyChangedRects, 1120 cc::switches::kShowPropertyChangedRects,
1121 cc::switches::kShowReplicaScreenSpaceRects, 1121 cc::switches::kShowReplicaScreenSpaceRects,
1122 cc::switches::kShowScreenSpaceRects, 1122 cc::switches::kShowScreenSpaceRects,
1123 cc::switches::kShowSurfaceDamageRects, 1123 cc::switches::kShowSurfaceDamageRects,
1124 cc::switches::kSlowDownRasterScaleFactor, 1124 cc::switches::kSlowDownRasterScaleFactor,
1125 cc::switches::kStrictLayerPropertyChangeChecking, 1125 cc::switches::kStrictLayerPropertyChangeChecking,
1126 cc::switches::kTopControlsHeight, 1126 cc::switches::kTopControlsHeight,
1127 cc::switches::kTopControlsHideThreshold, 1127 cc::switches::kTopControlsHideThreshold,
1128 cc::switches::kTopControlsShowThreshold, 1128 cc::switches::kTopControlsShowThreshold,
1129 cc::switches::kTraceOverdraw,
1130 #if defined(ENABLE_PLUGINS) 1129 #if defined(ENABLE_PLUGINS)
1131 switches::kEnablePepperTesting, 1130 switches::kEnablePepperTesting,
1132 #endif 1131 #endif
1133 #if defined(ENABLE_WEBRTC) 1132 #if defined(ENABLE_WEBRTC)
1134 switches::kEnableAudioTrackProcessing, 1133 switches::kEnableAudioTrackProcessing,
1135 switches::kDisableDeviceEnumeration, 1134 switches::kDisableDeviceEnumeration,
1136 switches::kDisableSCTPDataChannels, 1135 switches::kDisableSCTPDataChannels,
1137 switches::kDisableWebRtcHWDecoding, 1136 switches::kDisableWebRtcHWDecoding,
1138 switches::kDisableWebRtcHWEncoding, 1137 switches::kDisableWebRtcHWEncoding,
1139 switches::kEnableWebRtcAecRecordings, 1138 switches::kEnableWebRtcAecRecordings,
(...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after
2093 2092
2094 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2093 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2095 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 2094 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
2096 DCHECK_GT(worker_ref_count_, 0); 2095 DCHECK_GT(worker_ref_count_, 0);
2097 --worker_ref_count_; 2096 --worker_ref_count_;
2098 if (worker_ref_count_ == 0) 2097 if (worker_ref_count_ == 0)
2099 Cleanup(); 2098 Cleanup();
2100 } 2099 }
2101 2100
2102 } // namespace content 2101 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698