summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authordpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-20 21:54:11 +0000
committerdpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-20 21:54:11 +0000
commitbcd2c65aa2b14953fe596dd34d5f165db83edd30 (patch)
tree52b2ec1b33fe833e5ead7dc18d891f1cf9e3492b /content
parent9a7f209f8840cc60ae6ead045246725a42359cfe (diff)
downloadchromium_src-bcd2c65aa2b14953fe596dd34d5f165db83edd30.zip
chromium_src-bcd2c65aa2b14953fe596dd34d5f165db83edd30.tar.gz
chromium_src-bcd2c65aa2b14953fe596dd34d5f165db83edd30.tar.bz2
move webkit_glue::IsSingleProcess to content.
The IsSingleProcess() call is only used by the V8 benchmarking extension, which is only linked in in chrome. Having this function defined in glue made glue dependent on content, which was a problem for the component build. We could probably move this all the way up into chrome somewhere (and out of content), but I'm not sure if this is the right thing to do. R=darin@chromium.org, ananta@chromium.org BUG=90442 TEST= Review URL: http://codereview.chromium.org/7904031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102033 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/renderer/renderer_glue.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/content/renderer/renderer_glue.cc b/content/renderer/renderer_glue.cc
index 0bdb3d6..c5f3dec 100644
--- a/content/renderer/renderer_glue.cc
+++ b/content/renderer/renderer_glue.cc
@@ -225,10 +225,6 @@ WebSocketStreamHandleBridge* WebSocketStreamHandleBridge::Create(
return dispatcher->CreateBridge(handle, delegate);
}
-bool IsSingleProcess() {
- return CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess);
-}
-
#if defined(OS_LINUX)
int MatchFontWithFallback(const std::string& face, bool bold,
bool italic, int charset) {