Chromium Code Reviews

Unified Diff: Source/core/html/canvas/WebGLLoseContext.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/WebGLLoseContext.cpp
diff --git a/Source/core/html/canvas/WebGLLoseContext.cpp b/Source/core/html/canvas/WebGLLoseContext.cpp
index e2fe7bd738deed62ea37505dde9f0a8ae6f29e4f..c2c751ce7683c040d0667c82c01caa15a2086d77 100644
--- a/Source/core/html/canvas/WebGLLoseContext.cpp
+++ b/Source/core/html/canvas/WebGLLoseContext.cpp
@@ -52,9 +52,9 @@ WebGLExtensionName WebGLLoseContext::name() const
return WebGLLoseContextName;
}
-PassRefPtr<WebGLLoseContext> WebGLLoseContext::create(WebGLRenderingContextBase* context)
+PassRefPtrWillBeRawPtr<WebGLLoseContext> WebGLLoseContext::create(WebGLRenderingContextBase* context)
{
- return adoptRef(new WebGLLoseContext(context));
+ return adoptRefWillBeNoop(new WebGLLoseContext(context));
}
void WebGLLoseContext::loseContext()

Powered by Google App Engine