Fix iteration bounds of Android GL API initialization
authortomhudson <tomhudson@google.com>
Wed, 10 Sep 2014 17:45:42 +0000 (10:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Sep 2014 17:45:42 +0000 (10:45 -0700)
commit579b4fb92e78634c84670f0e09844de0478f8ffe
tree9e38534fb8b3ef5e7fdeedd752cbb45b8351e336
parentcc0e3110bde60201882a2c512a5cdd73c838f351
Fix iteration bounds of Android GL API initialization

A dormant error in https://codereview.chromium.org/319043005 was
exposed on some new platforms; this makes sure loop iterations
are bounded.

BUG=
R=joshualitt@google.com, joshualitt@chromium.org

Author: tomhudson@google.com

Review URL: https://codereview.chromium.org/557363002
src/gpu/gl/android/SkNativeGLContext_android.cpp