summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {