Commit 84a7e0d7 authored by grt@chromium.org's avatar grt@chromium.org

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
parent 63bc983e
......@@ -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;
};
......
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment