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

Unified Diff: Source/core/html/canvas/WebGLCompressedTextureETC1.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: Round of improvements Created 6 years, 6 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/WebGLCompressedTextureETC1.cpp
diff --git a/Source/core/html/canvas/WebGLCompressedTextureETC1.cpp b/Source/core/html/canvas/WebGLCompressedTextureETC1.cpp
index a2abde855a3e881dc568d4df898cd72030d63abe..74d67da0f076a9fb8e03592553e9b3933af191b3 100644
--- a/Source/core/html/canvas/WebGLCompressedTextureETC1.cpp
+++ b/Source/core/html/canvas/WebGLCompressedTextureETC1.cpp
@@ -26,9 +26,9 @@ WebGLExtensionName WebGLCompressedTextureETC1::name() const
return WebGLCompressedTextureETC1Name;
}
-PassRefPtr<WebGLCompressedTextureETC1> WebGLCompressedTextureETC1::create(WebGLRenderingContextBase* context)
+PassRefPtrWillBeRawPtr<WebGLCompressedTextureETC1> WebGLCompressedTextureETC1::create(WebGLRenderingContextBase* context)
{
- return adoptRef(new WebGLCompressedTextureETC1(context));
+ return adoptRefWillBeNoop(new WebGLCompressedTextureETC1(context));
}
bool WebGLCompressedTextureETC1::supported(WebGLRenderingContextBase* context)

Powered by Google App Engine
This is Rietveld 408576698