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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLContextObject.h

Issue 2547813002: Remove WebGLObject maps from WebGLRenderingContextBase and WebGLContextGroup. (Closed)
Patch Set: Fixed WebGLContextObject::validate. Made WebGLExtension non-finalized. Created 4 years 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/modules/webgl/WebGLContextObject.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLContextObject.h b/third_party/WebKit/Source/modules/webgl/WebGLContextObject.h
index 1bcfc38322704d93d8c14a7acce6395897ecd6c0..ca65a066de68902eaf463a5f0cb1469eb339a658 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLContextObject.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLContextObject.h
@@ -36,16 +36,10 @@ class WebGLRenderingContextBase;
// WebGLRenderingContextBase.
class WebGLContextObject : public WebGLObject {
public:
- ~WebGLContextObject() override;
-
WebGLRenderingContextBase* context() const { return m_context; }
bool validate(const WebGLContextGroup*,
- const WebGLRenderingContextBase* context) const final {
- return context == m_context;
- }
-
- void detachContext();
+ const WebGLRenderingContextBase*) const final;
DECLARE_VIRTUAL_TRACE();
@@ -54,6 +48,8 @@ class WebGLContextObject : public WebGLObject {
bool hasGroupOrContext() const final { return m_context; }
+ uint32_t currentNumberOfContextLosses() const final;
+
gpu::gles2::GLES2Interface* getAGLInterface() const final;
private:

Powered by Google App Engine
This is Rietveld 408576698