diff options
Diffstat (limited to 'chrome/app/client_util.cc')
-rw-r--r-- | chrome/app/client_util.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/app/client_util.cc b/chrome/app/client_util.cc index c822ec8..074b6c8 100644 --- a/chrome/app/client_util.cc +++ b/chrome/app/client_util.cc @@ -18,8 +18,6 @@ namespace { // The entry point signature of chrome.dll. typedef int (*DLL_MAIN)(HINSTANCE, sandbox::SandboxInterfaceInfo*, wchar_t*); -typedef void (*RelaunchChromeBrowserWithNewCommandLineIfNeededFunc)(); - // Not generic, we only handle strings up to 128 chars. bool ReadRegistryStr(HKEY key, const wchar_t* name, std::wstring* value) { BYTE out[128 * sizeof(wchar_t)]; @@ -198,19 +196,6 @@ int MainDllLoader::Launch(HINSTANCE instance, return OnBeforeExit(rc); } -void MainDllLoader::RelaunchChromeBrowserWithNewCommandLineIfNeeded() { - RelaunchChromeBrowserWithNewCommandLineIfNeededFunc relaunch_function = - reinterpret_cast<RelaunchChromeBrowserWithNewCommandLineIfNeededFunc>( - ::GetProcAddress(dll_, - "RelaunchChromeBrowserWithNewCommandLineIfNeeded")); - if (!relaunch_function) { - LOG(ERROR) << "Could not find exported function " - << "RelaunchChromeBrowserWithNewCommandLineIfNeeded"; - } else { - relaunch_function(); - } -} - //============================================================================= class ChromeDllLoader : public MainDllLoader { |