summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authornsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 18:10:50 +0000
committernsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 18:10:50 +0000
commit22514d70ddb3ce5a3eb99cd022f909d5d7298793 (patch)
tree888f291ef26f4972859f564a3f950cfee123087e /chrome
parentd3ad8b706aff05ae06dd3dfc8bac850f0d364718 (diff)
downloadchromium_src-22514d70ddb3ce5a3eb99cd022f909d5d7298793.zip
chromium_src-22514d70ddb3ce5a3eb99cd022f909d5d7298793.tar.gz
chromium_src-22514d70ddb3ce5a3eb99cd022f909d5d7298793.tar.bz2
Second try to make the theme dll no-executable.
Hopefully this flag wont cause a performance regression. Review URL: http://codereview.chromium.org/3109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/common/resource_bundle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/resource_bundle.cc b/chrome/common/resource_bundle.cc
index 107c6e0..49c58f8 100644
--- a/chrome/common/resource_bundle.cc
+++ b/chrome/common/resource_bundle.cc
@@ -31,7 +31,7 @@ DWORD GetDataDllLoadFlags() {
if (win_util::GetWinVersion() >= win_util::WINVERSION_VISTA)
return LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE | LOAD_LIBRARY_AS_IMAGE_RESOURCE;
- return 0;
+ return DONT_RESOLVE_DLL_REFERENCES;
}
/* static */