Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1693)

Unified Diff: chrome/common/v8_breakpad_support_win.cc

Issue 2548653004: win64: fix lookup of RtlAddFunctionTable() helper for v8 (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/v8_breakpad_support_win.cc
diff --git a/chrome/common/v8_breakpad_support_win.cc b/chrome/common/v8_breakpad_support_win.cc
index d0c496250fafabc4f343b13c8ae1ef93ad6f2268..a5d5e9450c5efb088e1450090118bf5395d5473d 100644
--- a/chrome/common/v8_breakpad_support_win.cc
+++ b/chrome/common/v8_breakpad_support_win.cc
@@ -17,13 +17,11 @@ void SetUp() {
// Get the breakpad pointer from chrome.exe
gin::Debug::CodeRangeCreatedCallback create_callback =
reinterpret_cast<gin::Debug::CodeRangeCreatedCallback>(
- ::GetProcAddress(::GetModuleHandle(
- chrome::kBrowserProcessExecutableName),
+ ::GetProcAddress(::GetModuleHandle(chrome::kChromeElfDllName),
"RegisterNonABICompliantCodeRange"));
gin::Debug::CodeRangeDeletedCallback delete_callback =
reinterpret_cast<gin::Debug::CodeRangeDeletedCallback>(
- ::GetProcAddress(::GetModuleHandle(
- chrome::kBrowserProcessExecutableName),
+ ::GetProcAddress(::GetModuleHandle(chrome::kChromeElfDllName),
"UnregisterNonABICompliantCodeRange"));
// When running e.g. browser_tests.exe, these might be NULL.
if (create_callback && delete_callback) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698