summaryrefslogtreecommitdiffstats
path: root/chrome/common/child_thread.cc
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 04:56:21 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 04:56:21 +0000
commite5fd10f6814759585a44c4f29353dd36269b4b06 (patch)
tree2e6a8cf4d614258839346c481295fe4f507abb27 /chrome/common/child_thread.cc
parent0dbb1ebc5db4d16057884de523d8af80eaf017db (diff)
downloadchromium_src-e5fd10f6814759585a44c4f29353dd36269b4b06.zip
chromium_src-e5fd10f6814759585a44c4f29353dd36269b4b06.tar.gz
chromium_src-e5fd10f6814759585a44c4f29353dd36269b4b06.tar.bz2
Temporary fix for the Cocoa-in-renderer problem.
Review URL: http://codereview.chromium.org/27108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_thread.cc')
-rw-r--r--chrome/common/child_thread.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/common/child_thread.cc b/chrome/common/child_thread.cc
index d1a9893..bad15a6 100644
--- a/chrome/common/child_thread.cc
+++ b/chrome/common/child_thread.cc
@@ -20,12 +20,8 @@ ChildThread::ChildThread(Thread::Options options)
switches::kProcessChannelID);
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kUserAgent)) {
-#if defined(OS_WIN)
- // TODO(port): calling this connects an, otherwise disconnected, subgraph
- // of symbols, causing huge numbers of linker errors.
webkit_glue::SetUserAgent(WideToUTF8(
CommandLine::ForCurrentProcess()->GetSwitchValue(switches::kUserAgent)));
-#endif
}
}