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

Side by Side Diff: content/renderer/render_process_impl.cc

Issue 7439008: Remove "--logfile=*" from V8 flags in renderers. It is no more needed and is ignored by V8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #include <objidl.h> 9 #include <objidl.h>
10 #include <mlang.h> 10 #include <mlang.h>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 DCHECK(gdi_init_lpk); 57 DCHECK(gdi_init_lpk);
58 if (gdi_init_lpk) { 58 if (gdi_init_lpk) {
59 gdi_init_lpk(0); 59 gdi_init_lpk(0);
60 } 60 }
61 } 61 }
62 #endif 62 #endif
63 63
64 // Out of process dev tools rely upon auto break behavior. 64 // Out of process dev tools rely upon auto break behavior.
65 webkit_glue::SetJavaScriptFlags( 65 webkit_glue::SetJavaScriptFlags(
66 "--debugger-auto-break" 66 "--debugger-auto-break"
67 // Enable lazy in-memory profiling. 67 // Enable on-demand profiling.
68 " --prof --prof-lazy --logfile=*"); 68 " --prof --prof-lazy");
69 69
70 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); 70 const CommandLine& command_line = *CommandLine::ForCurrentProcess();
71 if (command_line.HasSwitch(switches::kJavaScriptFlags)) { 71 if (command_line.HasSwitch(switches::kJavaScriptFlags)) {
72 webkit_glue::SetJavaScriptFlags( 72 webkit_glue::SetJavaScriptFlags(
73 command_line.GetSwitchValueASCII(switches::kJavaScriptFlags)); 73 command_line.GetSwitchValueASCII(switches::kJavaScriptFlags));
74 } 74 }
75 } 75 }
76 76
77 RenderProcessImpl::~RenderProcessImpl() { 77 RenderProcessImpl::~RenderProcessImpl() {
78 // TODO(port): Try and limit what we pull in for our non-Win unit test bundle. 78 // TODO(port): Try and limit what we pull in for our non-Win unit test bundle.
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 } 230 }
231 231
232 void RenderProcessImpl::ClearTransportDIBCache() { 232 void RenderProcessImpl::ClearTransportDIBCache() {
233 for (size_t i = 0; i < arraysize(shared_mem_cache_); ++i) { 233 for (size_t i = 0; i < arraysize(shared_mem_cache_); ++i) {
234 if (shared_mem_cache_[i]) { 234 if (shared_mem_cache_[i]) {
235 FreeTransportDIB(shared_mem_cache_[i]); 235 FreeTransportDIB(shared_mem_cache_[i]);
236 shared_mem_cache_[i] = NULL; 236 shared_mem_cache_[i] = NULL;
237 } 237 }
238 } 238 }
239 } 239 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698