Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: ui/gfx/gl/gl_implementation_win.cc

Issue 9567021: Preload ddraw.dll before initializing sandbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: switch to LoadLibrary Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/gl_implementation_win.cc
diff --git a/ui/gfx/gl/gl_implementation_win.cc b/ui/gfx/gl/gl_implementation_win.cc
index e98da6143450e0fdcd7eb566180ed9e99c019a3f..c5c1f651fb202716e18bf0edcc7ab69a6ea5d1a1 100644
--- a/ui/gfx/gl/gl_implementation_win.cc
+++ b/ui/gfx/gl/gl_implementation_win.cc
@@ -146,6 +146,8 @@ bool InitializeGLBindings(GLImplementation implementation) {
return false;
gles_path =
command_line->GetSwitchValuePath(switches::kSwiftShaderPath);
+ // Preload library
+ LoadLibrary(L"ddraw.dll");
} else {
gles_path = module_path;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698