Chromium Code Reviews

Unified Diff: Source/core/html/canvas/EXTShaderTextureLOD.cpp

Issue 365653002: Oilpan: move 2D Canvas and WebGL objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make WebGLObjects keep a blink::WebGraphicsContext3D for finalization. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/html/canvas/EXTShaderTextureLOD.cpp
diff --git a/Source/core/html/canvas/EXTShaderTextureLOD.cpp b/Source/core/html/canvas/EXTShaderTextureLOD.cpp
index d258bef94cfb2b80cbfdd3c8f7afab9ea7379601..b0b0775c5929d4988c26e24ca04669f217a198a3 100644
--- a/Source/core/html/canvas/EXTShaderTextureLOD.cpp
+++ b/Source/core/html/canvas/EXTShaderTextureLOD.cpp
@@ -24,9 +24,9 @@ WebGLExtensionName EXTShaderTextureLOD::name() const
return EXTShaderTextureLODName;
}
-PassRefPtr<EXTShaderTextureLOD> EXTShaderTextureLOD::create(WebGLRenderingContextBase* context)
+PassRefPtrWillBeRawPtr<EXTShaderTextureLOD> EXTShaderTextureLOD::create(WebGLRenderingContextBase* context)
{
- return adoptRef(new EXTShaderTextureLOD(context));
+ return adoptRefWillBeNoop(new EXTShaderTextureLOD(context));
}
bool EXTShaderTextureLOD::supported(WebGLRenderingContextBase* context)

Powered by Google App Engine