diff options
author | grt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-30 21:42:32 +0000 |
---|---|---|
committer | grt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-30 21:42:32 +0000 |
commit | 84a7e0d7feb71c8c204e98fced58e4b72107490a (patch) | |
tree | 0301c14c93fc6fb49933a517d55566b350834d7f /win8 | |
parent | 63bc983ea9fc3ebb88506abf7a93974ccfc9dd76 (diff) | |
download | chromium_src-84a7e0d7feb71c8c204e98fced58e4b72107490a.zip chromium_src-84a7e0d7feb71c8c204e98fced58e4b72107490a.tar.gz chromium_src-84a7e0d7feb71c8c204e98fced58e4b72107490a.tar.bz2 |
Fix Aura Release compile break in metro_driver.
The breakpad export has been unused for the last five months, so I suppose it's safe to remove it entirely.
BUG=162405
TEST=Chromium Win (aura) bot should be able to compile metro_driver.dll.
Review URL: https://chromiumcodereview.appspot.com/11412265
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8')
-rw-r--r-- | win8/metro_driver/chrome_app_view.h | 4 | ||||
-rw-r--r-- | win8/metro_driver/metro_driver.cc | 8 |
2 files changed, 0 insertions, 12 deletions
diff --git a/win8/metro_driver/chrome_app_view.h b/win8/metro_driver/chrome_app_view.h index 248d177..46c3ed5 100644 --- a/win8/metro_driver/chrome_app_view.h +++ b/win8/metro_driver/chrome_app_view.h @@ -139,9 +139,6 @@ class ChromeAppView MetroDialogBox dialog_box_; }; -// This function is exported by chrome.exe. -typedef int (__cdecl *BreakpadExceptionHandler)(EXCEPTION_POINTERS* info); - // Global information used across the metro driver. struct Globals { LPTHREAD_START_ROUTINE host_main; @@ -164,7 +161,6 @@ struct Globals { // to be initiated from that thread, notably spawning file pickers. base::MessageLoopProxy* appview_msg_loop; winapp::Core::ICoreApplicationExit* app_exit; - BreakpadExceptionHandler breakpad_exception_handler; string16 metro_command_line_switches; }; diff --git a/win8/metro_driver/metro_driver.cc b/win8/metro_driver/metro_driver.cc index 8c07d356..b08b300 100644 --- a/win8/metro_driver/metro_driver.cc +++ b/win8/metro_driver/metro_driver.cc @@ -147,14 +147,6 @@ int InitMetro(LPTHREAD_START_ROUTINE thread_proc, void* context) { #if defined(NDEBUG) logging::SetMinLogLevel(logging::LOG_ERROR); - // Bind to the breakpad handling function. - globals.breakpad_exception_handler = - reinterpret_cast<BreakpadExceptionHandler>( - ::GetProcAddress(::GetModuleHandle(NULL), - "CrashForException")); - if (!globals.breakpad_exception_handler) { - DVLOG(0) << "CrashForException export not found"; - } #else logging::SetMinLogLevel(logging::LOG_VERBOSE); // Set the error reporting flags to always raise an exception, |