| Index: third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.cpp b/third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.cpp
|
| index f83ab75087237c20b849a7fa9a1a9379da8aaea2..51f032e281b4632911f471c584ae1c0bc0593e19 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.cpp
|
| @@ -38,7 +38,8 @@ Extensions3DUtil::~Extensions3DUtil() {}
|
| void Extensions3DUtil::initializeExtensions() {
|
| if (m_gl->GetGraphicsResetStatusKHR() != GL_NO_ERROR) {
|
| // If the context is lost don't initialize the extension strings.
|
| - // This will cause supportsExtension, ensureExtensionEnabled, and isExtensionEnabled to always return false.
|
| + // This will cause supportsExtension, ensureExtensionEnabled, and
|
| + // isExtensionEnabled to always return false.
|
| m_isValid = false;
|
| return;
|
| }
|
| @@ -76,8 +77,8 @@ bool Extensions3DUtil::canUseCopyTextureCHROMIUM(GLenum destTarget,
|
| GLenum destFormat,
|
| GLenum destType,
|
| GLint level) {
|
| - // TODO(zmo): restriction of (RGB || RGBA)/UNSIGNED_BYTE/(Level 0) should be lifted when
|
| - // GLES2Interface::CopyTextureCHROMIUM(...) are fully functional.
|
| + // TODO(zmo): restriction of (RGB || RGBA)/UNSIGNED_BYTE/(Level 0) should be
|
| + // lifted when GLES2Interface::CopyTextureCHROMIUM(...) are fully functional.
|
| if (destTarget == GL_TEXTURE_2D &&
|
| (destFormat == GL_RGB || destFormat == GL_RGBA) &&
|
| destType == GL_UNSIGNED_BYTE && !level)
|
|
|