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

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: 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/WebGLCompressedTextureETC1.cpp
diff --git a/Source/core/html/canvas/WebGLCompressedTextureETC1.cpp b/Source/core/html/canvas/WebGLCompressedTextureETC1.cpp
index 04a5b739c052147fd30572a5b0ed749b979800e8..cb0f8a7a794de6b3297e7301bc8f0da1fa10d7b6 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