summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-21 20:23:46 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-21 20:23:46 +0000
commitd6a16564e95db8cab49f9761e4864b3fcc013cd9 (patch)
tree0d02a6227fa0b865776b4a8c63592d36a0433e2d
parent8cd77dc30ea2528c7190b4e4629e560118d568b6 (diff)
downloadchromium_src-d6a16564e95db8cab49f9761e4864b3fcc013cd9.zip
chromium_src-d6a16564e95db8cab49f9761e4864b3fcc013cd9.tar.gz
chromium_src-d6a16564e95db8cab49f9761e4864b3fcc013cd9.tar.bz2
Build fix: release builds seemed to break
Review URL: http://codereview.chromium.org/18459 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8385 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/renderer_host/browser_render_process_host.cc1
-rw-r--r--chrome/renderer/renderer_main.cc6
2 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc
index 6c9ab93..e4048c2 100644
--- a/chrome/browser/renderer_host/browser_render_process_host.cc
+++ b/chrome/browser/renderer_host/browser_render_process_host.cc
@@ -55,6 +55,7 @@
#include "base/win_util.h"
#include "chrome/browser/sandbox_policy.h"
#include "chrome/common/win_util.h"
+#include "common/win_util.h"
#include "sandbox/src/sandbox.h"
#endif
diff --git a/chrome/renderer/renderer_main.cc b/chrome/renderer/renderer_main.cc
index b3d9fec..a42d96e 100644
--- a/chrome/renderer/renderer_main.cc
+++ b/chrome/renderer/renderer_main.cc
@@ -8,6 +8,7 @@
#include "base/platform_thread.h"
#include "base/string_util.h"
#include "base/system_monitor.h"
+#include "build/build_config.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_counters.h"
#include "chrome/common/chrome_switches.h"
@@ -22,6 +23,11 @@
#include "chromium_strings.h"
#include "generated_resources.h"
+#if defined(OS_WIN)
+// Needed for CoInitialize
+#include "chrome/common/win_util.h"
+#endif
+
// This function provides some ways to test crash and assertion handling
// behavior of the renderer.
static void HandleRendererErrorTestParameters(const CommandLine& command_line) {