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

Unified Diff: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp

Issue 1935783002: Delete blink::WebGraphicsContext3D and cc_blink::ContextProviderWebContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sharegroup
Patch Set: rmwgc3d: export Created 4 years, 8 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: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
index aac5c704343fc41443e40e17f9897671c8088344..9895364de873bfbe6836b6fb2c63ebcf8cb6d1b9 100644
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
@@ -36,7 +36,6 @@
#include "platform/graphics/gpu/SharedContextRateLimiter.h"
#include "public/platform/Platform.h"
#include "public/platform/WebCompositorSupport.h"
-#include "public/platform/WebGraphicsContext3D.h"
#include "public/platform/WebGraphicsContext3DProvider.h"
#include "public/platform/WebScheduler.h"
#include "public/platform/WebTraceLocation.h"
@@ -690,15 +689,6 @@ void Canvas2DLayerBridge::flushGpu()
}
-WebGraphicsContext3D* Canvas2DLayerBridge::context()
-{
- // Check on m_layer is necessary because context() may be called during
- // the destruction of m_layer
- if (m_layer && !m_destructionInProgress)
- checkSurfaceValid(); // To ensure rate limiter is disabled if context is lost.
- return m_contextProvider ? m_contextProvider->context3d() : 0;
-}
-
gpu::gles2::GLES2Interface* Canvas2DLayerBridge::contextGL()
{
// Check on m_layer is necessary because contextGL() may be called during

Powered by Google App Engine
This is Rietveld 408576698