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

Unified Diff: Source/core/html/canvas/WebGLCompressedTextureS3TC.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: Smaller adjustments Created 6 years, 5 months 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: Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
diff --git a/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp b/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
index 00ebfd3931fa7bfd5e1547939881cf2478d4aa71..964220d65f0569547f9b21a53a524da530ef2651 100644
--- a/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
+++ b/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
@@ -50,9 +50,9 @@ WebGLExtensionName WebGLCompressedTextureS3TC::name() const
return WebGLCompressedTextureS3TCName;
}
-PassRefPtr<WebGLCompressedTextureS3TC> WebGLCompressedTextureS3TC::create(WebGLRenderingContextBase* context)
+PassRefPtrWillBeRawPtr<WebGLCompressedTextureS3TC> WebGLCompressedTextureS3TC::create(WebGLRenderingContextBase* context)
{
- return adoptRef(new WebGLCompressedTextureS3TC(context));
+ return adoptRefWillBeNoop(new WebGLCompressedTextureS3TC(context));
}
bool WebGLCompressedTextureS3TC::supported(WebGLRenderingContextBase* context)

Powered by Google App Engine
This is Rietveld 408576698