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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLSharedObject.cpp

Issue 2548273002: Addressed haraken's feedback on the removal of WebGLObject maps. (Closed)
Patch Set: Rebased. 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
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLObject.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webgl/WebGLSharedObject.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLSharedObject.cpp b/third_party/WebKit/Source/modules/webgl/WebGLSharedObject.cpp
index 074fcbc4685f2a5c9d1d47a454df72f607404848..658cd317df34150e4c690a3ef6ce6440333253c5 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLSharedObject.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLSharedObject.cpp
@@ -47,7 +47,7 @@ uint32_t WebGLSharedObject::currentNumberOfContextLosses() const {
}
gpu::gles2::GLES2Interface* WebGLSharedObject::getAGLInterface() const {
- return m_contextGroup ? m_contextGroup->getAGLInterface() : nullptr;
+ return m_contextGroup->getAGLInterface();
}
DEFINE_TRACE(WebGLSharedObject) {
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLObject.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698