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

Unified Diff: content/shell/shell_content_renderer_client.cc

Issue 12257033: [content shell] add stubs for all missing WebTestDelegate methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/shell/webkit_test_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_content_renderer_client.cc
diff --git a/content/shell/shell_content_renderer_client.cc b/content/shell/shell_content_renderer_client.cc
index 77d3641a41426461ff6aee871c5b308622d66eb2..01905b7699b240df8484b46dc472efda53a15f36 100644
--- a/content/shell/shell_content_renderer_client.cc
+++ b/content/shell/shell_content_renderer_client.cc
@@ -6,6 +6,7 @@
#include "base/callback.h"
#include "base/command_line.h"
+#include "base/debug/debugger.h"
#include "content/public/common/content_constants.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/url_constants.h"
@@ -53,6 +54,11 @@ ShellContentRendererClient::~ShellContentRendererClient() {
void ShellContentRendererClient::RenderThreadStarted() {
shell_observer_.reset(new ShellRenderProcessObserver());
+#if defined(OS_MACOSX)
+ // We need to call this once before the sandbox was initialized to cache the
+ // value.
+ base::debug::BeingDebugged();
+#endif
}
void ShellContentRendererClient::RenderViewCreated(RenderView* render_view) {
« no previous file with comments | « no previous file | content/shell/webkit_test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698