summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/modules/webgl/ANGLEInstancedArrays.cpp
diff options
context:
space:
mode:
authorperia@chromium.org <peria@chromium.org>2015-08-12 05:51:26 +0000
committerperia@chromium.org <peria@chromium.org>2015-08-12 05:51:26 +0000
commit413ee5dbae0aadb35eeebaa092f01e20dfb790a1 (patch)
tree8a7036c1585d8c25a61b950efd4a9914eb84ad42 /third_party/WebKit/Source/modules/webgl/ANGLEInstancedArrays.cpp
parentf353ab0a1be4b4406c28fb4c74c7abd0bc905063 (diff)
downloadchromium_src-413ee5dbae0aadb35eeebaa092f01e20dfb790a1.zip
chromium_src-413ee5dbae0aadb35eeebaa092f01e20dfb790a1.tar.gz
chromium_src-413ee5dbae0aadb35eeebaa092f01e20dfb790a1.tar.bz2
Reland of http://crrev.com/1234883002
Added a flag to ignore the wrong plugin warning. ------------ [Oilpan] Migrate classes under module/webgl onto oilpan heap Following document reports the effect of this CL on performance and memory usages. https://docs.google.com/document/d/1QUDGL5a2wBZVyUrzlGjzKFe1sQgOOvm6gNhB1B7VRoE/edit?usp=sharing BUG=497662 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200298 Review URL: https://codereview.chromium.org/1287883002 git-svn-id: svn://svn.chromium.org/blink/trunk@200381 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/Source/modules/webgl/ANGLEInstancedArrays.cpp')
-rw-r--r--third_party/WebKit/Source/modules/webgl/ANGLEInstancedArrays.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/WebKit/Source/modules/webgl/ANGLEInstancedArrays.cpp b/third_party/WebKit/Source/modules/webgl/ANGLEInstancedArrays.cpp
index 9e6a495..d147dba 100644
--- a/third_party/WebKit/Source/modules/webgl/ANGLEInstancedArrays.cpp
+++ b/third_party/WebKit/Source/modules/webgl/ANGLEInstancedArrays.cpp
@@ -51,9 +51,9 @@ WebGLExtensionName ANGLEInstancedArrays::name() const
return ANGLEInstancedArraysName;
}
-PassRefPtrWillBeRawPtr<ANGLEInstancedArrays> ANGLEInstancedArrays::create(WebGLRenderingContextBase* context)
+ANGLEInstancedArrays* ANGLEInstancedArrays::create(WebGLRenderingContextBase* context)
{
- return adoptRefWillBeNoop(new ANGLEInstancedArrays(context));
+ return new ANGLEInstancedArrays(context);
}
bool ANGLEInstancedArrays::supported(WebGLRenderingContextBase* context)