| Index: third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp b/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp
|
| index 4988bfce36dc2d18de2491730be955f9fc5ba26d..91f09f1844fa4bc63ba54ff013102e21484471b3 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp
|
| @@ -11,16 +11,13 @@
|
|
|
| namespace blink {
|
|
|
| -EXTDisjointTimerQuery::~EXTDisjointTimerQuery() {}
|
| -
|
| WebGLExtensionName EXTDisjointTimerQuery::name() const {
|
| return EXTDisjointTimerQueryName;
|
| }
|
|
|
| EXTDisjointTimerQuery* EXTDisjointTimerQuery::create(
|
| WebGLRenderingContextBase* context) {
|
| - EXTDisjointTimerQuery* o = new EXTDisjointTimerQuery(context);
|
| - return o;
|
| + return new EXTDisjointTimerQuery(context);
|
| }
|
|
|
| bool EXTDisjointTimerQuery::supported(WebGLRenderingContextBase* context) {
|
| @@ -37,9 +34,7 @@ WebGLTimerQueryEXT* EXTDisjointTimerQuery::createQueryEXT() {
|
| if (scoped.isLost())
|
| return nullptr;
|
|
|
| - WebGLTimerQueryEXT* o = WebGLTimerQueryEXT::create(scoped.context());
|
| - scoped.context()->addContextObject(o);
|
| - return o;
|
| + return WebGLTimerQueryEXT::create(scoped.context());
|
| }
|
|
|
| void EXTDisjointTimerQuery::deleteQueryEXT(WebGLTimerQueryEXT* query) {
|
|
|