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

Side by Side Diff: src/ports/SkOSLibrary_win.cpp

Issue 1552203003: Change use of LoadLibrary to LoadLibraryA (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2015 Google Inc. 3 * Copyright 2015 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #include "SkTypes.h" 8 #include "SkTypes.h"
9 #if defined(SK_BUILD_FOR_WIN32) 9 #if defined(SK_BUILD_FOR_WIN32)
10 10
11 #include "SkOSLibrary.h" 11 #include "SkOSLibrary.h"
12 #include <windows.h> 12 #include <windows.h>
13 13
14 void* DynamicLoadLibrary(const char* libraryName) { 14 void* DynamicLoadLibrary(const char* libraryName) {
15 return LoadLibrary(libraryName); 15 return LoadLibraryA(libraryName);
16 } 16 }
17 17
18 void* GetProcedureAddress(void* library, const char* functionName) { 18 void* GetProcedureAddress(void* library, const char* functionName) {
19 return ::GetProcAddress((HMODULE)library, functionName); 19 return ::GetProcAddress((HMODULE)library, functionName);
20 } 20 }
21 21
22 #endif//defined(SK_BUILD_FOR_WIN32) 22 #endif//defined(SK_BUILD_FOR_WIN32)
OLDNEW
« no previous file with comments | « src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698