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

Unified Diff: Source/platform/graphics/gpu/Extensions3DUtil.cpp

Issue 481433002: gpu: Remove WebGraphicsContext3D::makeContextCurrent() in Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase to ToT Created 6 years, 4 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
Index: Source/platform/graphics/gpu/Extensions3DUtil.cpp
diff --git a/Source/platform/graphics/gpu/Extensions3DUtil.cpp b/Source/platform/graphics/gpu/Extensions3DUtil.cpp
index 3d66b44fa402c6a8b59bbbe0745af7c43cd75795..01fa4ab15335461b7d32b6fe51a26f2455cb246a 100644
--- a/Source/platform/graphics/gpu/Extensions3DUtil.cpp
+++ b/Source/platform/graphics/gpu/Extensions3DUtil.cpp
@@ -42,12 +42,6 @@ Extensions3DUtil::~Extensions3DUtil()
bool Extensions3DUtil::initializeExtensions()
{
- if (!m_context->makeContextCurrent()) {
- // Most likely the GPU process exited and the attempt to reconnect to it failed.
- // Need to try to restore the context again later.
- return false;
- }
-
if (m_context->isContextLost()) {
// Need to try to restore the context again later.
return false;
« no previous file with comments | « Source/platform/graphics/gpu/DrawingBuffer.cpp ('k') | Source/platform/graphics/test/MockWebGraphicsContext3D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698