Index: chrome/utility/BUILD.gn |
diff --git a/chrome/utility/BUILD.gn b/chrome/utility/BUILD.gn |
index a4ca50e18e41c4eef0629517d4b35e53fb80edb4..a99d954117adab9d129b5e3b3ffaaff21de81c0b 100644 |
--- a/chrome/utility/BUILD.gn |
+++ b/chrome/utility/BUILD.gn |
@@ -48,6 +48,11 @@ static_library("utility") { |
sources += |
rebase_path(gypi_values.chrome_utility_shared_media_sources, ".", "..") |
+ # Prevent wininet from loading in the renderer. http://crbug.com/460679 |
+ if (is_win) { |
+ ldflags = [ "/DELAYLOAD:wininet.dll" ] |
scottmg
2015/02/25 18:04:56
I'm not sure why this doesn't work. I suspect beca
jschuh
2015/02/25 18:07:44
Excellent. I place the entire burden on you. :)
brettw
2015/02/25 23:35:05
See "gn help ldflags" for how this works and what
|
+ } |
+ |
if (is_win || is_mac) { |
sources += |
rebase_path(gypi_values.chrome_utility_win_mac_media_gallery_sources, |