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

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

Issue 189603007: Let DCHECK in non-official-release build be opt-in with dcheck_always_on=1 only (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For landing 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 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
1010 switches::kEnableAcceleratedOverflowScroll, 1010 switches::kEnableAcceleratedOverflowScroll,
1011 switches::kEnableAcceleratedScrollableFrames, 1011 switches::kEnableAcceleratedScrollableFrames,
1012 switches::kEnableAccessibilityLogging, 1012 switches::kEnableAccessibilityLogging,
1013 switches::kEnableADTSStreamParser, 1013 switches::kEnableADTSStreamParser,
1014 switches::kEnableBeginFrameScheduling, 1014 switches::kEnableBeginFrameScheduling,
1015 switches::kEnableBleedingEdgeRenderingFastPaths, 1015 switches::kEnableBleedingEdgeRenderingFastPaths,
1016 switches::kEnableBrowserPluginForAllViewTypes, 1016 switches::kEnableBrowserPluginForAllViewTypes,
1017 switches::kEnableCompositedScrollingForFrames, 1017 switches::kEnableCompositedScrollingForFrames,
1018 switches::kEnableCompositingForFixedPosition, 1018 switches::kEnableCompositingForFixedPosition,
1019 switches::kEnableCompositingForTransition, 1019 switches::kEnableCompositingForTransition,
1020 switches::kEnableDCHECK,
1021 switches::kEnableDeferredImageDecoding, 1020 switches::kEnableDeferredImageDecoding,
1022 switches::kEnableDelegatedRenderer, 1021 switches::kEnableDelegatedRenderer,
1023 switches::kEnableEncryptedMedia, 1022 switches::kEnableEncryptedMedia,
1024 switches::kEnableExperimentalCanvasFeatures, 1023 switches::kEnableExperimentalCanvasFeatures,
1025 switches::kEnableExperimentalWebPlatformFeatures, 1024 switches::kEnableExperimentalWebPlatformFeatures,
1026 switches::kEnableExperimentalWebSocket, 1025 switches::kEnableExperimentalWebSocket,
1027 switches::kEnableFastTextAutosizing, 1026 switches::kEnableFastTextAutosizing,
1028 switches::kEnableGPUClientLogging, 1027 switches::kEnableGPUClientLogging,
1029 switches::kEnableGpuClientTracing, 1028 switches::kEnableGpuClientTracing,
1030 switches::kEnableGPUServiceLogging, 1029 switches::kEnableGPUServiceLogging,
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
2092 2091
2093 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2092 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2094 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 2093 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
2095 DCHECK_GT(worker_ref_count_, 0); 2094 DCHECK_GT(worker_ref_count_, 0);
2096 --worker_ref_count_; 2095 --worker_ref_count_;
2097 if (worker_ref_count_ == 0) 2096 if (worker_ref_count_ == 0)
2098 Cleanup(); 2097 Cleanup();
2099 } 2098 }
2100 2099
2101 } // namespace content 2100 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_child_process_host_impl.cc ('k') | content/common/gpu/media/vaapi_h264_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698