From 72d2d1b7f043edf5fe4e89a37e60e665dd747626 Mon Sep 17 00:00:00 2001 From: "caitkp@chromium.org" Date: Fri, 7 Mar 2014 22:06:31 +0000 Subject: Revert 255151 "Make chrome_elf use thunks instead of function po..." (Crashy on today's canary) > Make chrome_elf use thunks instead of function pointers. > > 1. Add functionality to ServiceResolverThunk to copy a thunk without patching. > 2. Move chrome_elf thunk-handling code to a common location. > 3. Use a thunk instead of a f'n ptr for redirects. > > BUG=334379 > > Review URL: https://codereview.chromium.org/183833004 TBR=caitkp@chromium.org Review URL: https://codereview.chromium.org/189803007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255703 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_elf/thunk_getter.h | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 chrome_elf/thunk_getter.h (limited to 'chrome_elf/thunk_getter.h') diff --git a/chrome_elf/thunk_getter.h b/chrome_elf/thunk_getter.h deleted file mode 100644 index 5bc20fe..0000000 --- a/chrome_elf/thunk_getter.h +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CHROME_ELF_THUNK_GETTER_H_ -#define CHROME_ELF_THUNK_GETTER_H_ - -namespace sandbox { -class ServiceResolverThunk; -} - -// Creates a |ServiceResolverThunk| based on the OS version. Ownership of the -// resulting thunk is passed to the caller. -sandbox::ServiceResolverThunk* GetThunk(bool relaxed); - -#endif // CHROME_ELF_THUNK_GETTER_H_ -- cgit v1.1