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

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

Issue 731293004: Add command line and flag option to force 2D canvas to use display lists (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 (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 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 switches::kEnableTouchEditing, 1161 switches::kEnableTouchEditing,
1162 switches::kEnableV8IdleNotificationAfterCommit, 1162 switches::kEnableV8IdleNotificationAfterCommit,
1163 switches::kEnableViewport, 1163 switches::kEnableViewport,
1164 switches::kEnableViewportMeta, 1164 switches::kEnableViewportMeta,
1165 switches::kEnableVtune, 1165 switches::kEnableVtune,
1166 switches::kEnableWebGLDraftExtensions, 1166 switches::kEnableWebGLDraftExtensions,
1167 switches::kEnableWebGLImageChromium, 1167 switches::kEnableWebGLImageChromium,
1168 switches::kEnableWebMIDI, 1168 switches::kEnableWebMIDI,
1169 switches::kEnableZeroCopy, 1169 switches::kEnableZeroCopy,
1170 switches::kForceDeviceScaleFactor, 1170 switches::kForceDeviceScaleFactor,
1171 switches::kForceDisplayList2dCanvas,
1171 switches::kFullMemoryCrashReport, 1172 switches::kFullMemoryCrashReport,
1172 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, 1173 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode,
1173 switches::kIPCConnectionTimeout, 1174 switches::kIPCConnectionTimeout,
1174 switches::kJavaScriptFlags, 1175 switches::kJavaScriptFlags,
1175 switches::kLoggingLevel, 1176 switches::kLoggingLevel,
1176 switches::kMainFrameResizesAreOrientationChanges, 1177 switches::kMainFrameResizesAreOrientationChanges,
1177 switches::kMaxUntiledLayerWidth, 1178 switches::kMaxUntiledLayerWidth,
1178 switches::kMaxUntiledLayerHeight, 1179 switches::kMaxUntiledLayerHeight,
1179 switches::kMemoryMetrics, 1180 switches::kMemoryMetrics,
1180 switches::kNoReferrers, 1181 switches::kNoReferrers,
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after
2247 2248
2248 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2249 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2249 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2250 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2250 DCHECK_GT(worker_ref_count_, 0); 2251 DCHECK_GT(worker_ref_count_, 0);
2251 --worker_ref_count_; 2252 --worker_ref_count_;
2252 if (worker_ref_count_ == 0) 2253 if (worker_ref_count_ == 0)
2253 Cleanup(); 2254 Cleanup();
2254 } 2255 }
2255 2256
2256 } // namespace content 2257 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698