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

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

Issue 5000001: Suppress creation of v8.log. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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 | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 if (gdi_init_lpk) { 144 if (gdi_init_lpk) {
145 gdi_init_lpk(0); 145 gdi_init_lpk(0);
146 } 146 }
147 } 147 }
148 #endif 148 #endif
149 149
150 // Out of process dev tools rely upon auto break behavior. 150 // Out of process dev tools rely upon auto break behavior.
151 webkit_glue::SetJavaScriptFlags( 151 webkit_glue::SetJavaScriptFlags(
152 "--debugger-auto-break" 152 "--debugger-auto-break"
153 // Enable lazy in-memory profiling. 153 // Enable lazy in-memory profiling.
154 " --prof --prof-lazy"); 154 " --prof --prof-lazy --logfile=*");
155 155
156 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); 156 const CommandLine& command_line = *CommandLine::ForCurrentProcess();
157 if (command_line.HasSwitch(switches::kJavaScriptFlags)) { 157 if (command_line.HasSwitch(switches::kJavaScriptFlags)) {
158 webkit_glue::SetJavaScriptFlags( 158 webkit_glue::SetJavaScriptFlags(
159 command_line.GetSwitchValueASCII(switches::kJavaScriptFlags)); 159 command_line.GetSwitchValueASCII(switches::kJavaScriptFlags));
160 } 160 }
161 161
162 if (command_line.HasSwitch(switches::kEnableWatchdog)) { 162 if (command_line.HasSwitch(switches::kEnableWatchdog)) {
163 // TODO(JAR): Need to implement renderer IO msgloop watchdog. 163 // TODO(JAR): Need to implement renderer IO msgloop watchdog.
164 } 164 }
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 } 371 }
372 372
373 void RenderProcessImpl::ClearTransportDIBCache() { 373 void RenderProcessImpl::ClearTransportDIBCache() {
374 for (size_t i = 0; i < arraysize(shared_mem_cache_); ++i) { 374 for (size_t i = 0; i < arraysize(shared_mem_cache_); ++i) {
375 if (shared_mem_cache_[i]) { 375 if (shared_mem_cache_[i]) {
376 FreeTransportDIB(shared_mem_cache_[i]); 376 FreeTransportDIB(shared_mem_cache_[i]);
377 shared_mem_cache_[i] = NULL; 377 shared_mem_cache_[i] = NULL;
378 } 378 }
379 } 379 }
380 } 380 }
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