Index: chrome/app/chrome_crash_reporter_client.cc |
diff --git a/chrome/app/chrome_crash_reporter_client.cc b/chrome/app/chrome_crash_reporter_client.cc |
index 2663a08017ad0aef4a048deeffd8eb441465f9f1..49c8c492624336f81b0f31bbe773d7108e676e0b 100644 |
--- a/chrome/app/chrome_crash_reporter_client.cc |
+++ b/chrome/app/chrome_crash_reporter_client.cc |
@@ -292,7 +292,17 @@ |
} |
size_t ChromeCrashReporterClient::RegisterCrashKeys() { |
+ // Note: On Windows this only affects the EXE. A separate invocation from |
+ // child_process_logging_win.cc registers crash keys for Chrome.dll. |
+#if defined(OS_WIN) && defined(COMPONENT_BUILD) |
+ // On Windows, this is not called in a component build, as in that case a |
+ // single copy of 'base' is shared by the EXE and the various DLLs, and that |
+ // copy is configured by child_process_logging_win.cc. |
+ NOTREACHED(); |
+ return 0; |
+#else |
return crash_keys::RegisterChromeCrashKeys(); |
+#endif |
} |
bool ChromeCrashReporterClient::IsRunningUnattended() { |