diff options
author | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 21:54:11 +0000 |
---|---|---|
committer | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 21:54:11 +0000 |
commit | bcd2c65aa2b14953fe596dd34d5f165db83edd30 (patch) | |
tree | 52b2ec1b33fe833e5ead7dc18d891f1cf9e3492b /webkit | |
parent | 9a7f209f8840cc60ae6ead045246725a42359cfe (diff) | |
download | chromium_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 'webkit')
-rw-r--r-- | webkit/support/webkit_support_glue.cc | 4 | ||||
-rw-r--r-- | webkit/tools/test_shell/test_shell.cc | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/webkit/support/webkit_support_glue.cc b/webkit/support/webkit_support_glue.cc index 348e1a8..49be72a 100644 --- a/webkit/support/webkit_support_glue.cc +++ b/webkit/support/webkit_support_glue.cc @@ -63,10 +63,6 @@ bool DownloadUrl(const std::string& url, HWND caller_window) { } #endif -bool IsSingleProcess() { - return true; -} - void EnableSpdy(bool enable) { } diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc index 6395dd3..4d8c9b0 100644 --- a/webkit/tools/test_shell/test_shell.cc +++ b/webkit/tools/test_shell/test_shell.cc @@ -639,10 +639,6 @@ std::string BuildUserAgent(bool mimic_windows) { return webkit_glue::BuildUserAgentHelper(mimic_windows, "Chrome/0.0.0.0"); } -bool IsSingleProcess() { - return true; -} - #if defined(OS_LINUX) int MatchFontWithFallback(const std::string& face, bool bold, bool italic, int charset) { |