summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.h
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 12:53:16 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 12:53:16 +0000
commit1bba09cc68b4f5335ecd335a4e52b74f221ef583 (patch)
treed3d7cbe9c9cfada1a901023b4c50245f559e5fe4 /chrome/browser/profile.h
parentf3964daf023b2d10df1111248de367a0647d6392 (diff)
downloadchromium_src-1bba09cc68b4f5335ecd335a4e52b74f221ef583.zip
chromium_src-1bba09cc68b4f5335ecd335a4e52b74f221ef583.tar.gz
chromium_src-1bba09cc68b4f5335ecd335a4e52b74f221ef583.tar.bz2
Disable RTTI and C++ exceptions in the Mac build. Disable RTTI in the Linux
build, where C++ exceptions are already disabled. BUG=19094 12248 TEST=Mac release-mode Google Chrome.app should shrink by about 6MB. Mac disk image should shrink by about 1.5MB. Linux binary and package should shrink too. Review URL: http://codereview.chromium.org/165330 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23304 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r--chrome/browser/profile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index 3f3a127..a305888 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -487,8 +487,8 @@ namespace __gnu_cxx {
template<>
struct hash<Profile*> {
- size_t operator()(Profile* const& p) const {
- return std::tr1::hash<long>()(reinterpret_cast<long>(p));
+ std::size_t operator()(Profile* const& p) const {
+ return reinterpret_cast<std::size_t>(p);
}
};