projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70ee31b
)
Use size_t for strlen() return value
author
scroggo
<scroggo@google.com>
Thu, 10 Dec 2015 21:46:04 +0000
(13:46 -0800)
committer
Commit bot
<commit-bot@chromium.org>
Thu, 10 Dec 2015 21:46:04 +0000
(13:46 -0800)
BUG=skia:2810
Review URL: https://codereview.chromium.org/
1518843002
src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp
patch
|
blob
|
history
diff --git
a/src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp
b/src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp
index 591cae349c0f8925b4697ad5f30f352890d125cc..3b2488dfc6ecba364f185d383c3eec4ff70708a4 100644
(file)
--- a/
src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp
+++ b/
src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp
@@
-277,7
+277,7
@@
GrGLFuncPtr EGLGLContext::onPlatformGetProcAddress(const char* procName) const {
}
static bool supports_egl_extension(EGLDisplay display, const char* extension) {
-
in
t extensionLength = strlen(extension);
+
size_
t extensionLength = strlen(extension);
const char* extensionsStr = eglQueryString(display, EGL_EXTENSIONS);
while (const char* match = strstr(extensionsStr, extension)) {
// Ensure the string we found is its own extension, not a substring of a larger extension