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

Unified Diff: Source/core/html/canvas/WebGLLoseContext.h

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. 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/WebGLLoseContext.h
diff --git a/Source/core/html/canvas/WebGLLoseContext.h b/Source/core/html/canvas/WebGLLoseContext.h
index 7c91f219867419a31b09f064d37e43fb3920f19c..c08438f1961ceb2dabac7ff378c359e7071bd4b4 100644
--- a/Source/core/html/canvas/WebGLLoseContext.h
+++ b/Source/core/html/canvas/WebGLLoseContext.h
@@ -36,7 +36,7 @@ class WebGLRenderingContextBase;
class WebGLLoseContext FINAL : public WebGLExtension, public ScriptWrappable {
public:
- static PassRefPtr<WebGLLoseContext> create(WebGLRenderingContextBase*);
+ static PassRefPtrWillBeRawPtr<WebGLLoseContext> create(WebGLRenderingContextBase*);
static bool supported(WebGLRenderingContextBase*);
static const char* extensionName();
@@ -48,7 +48,7 @@ public:
void restoreContext();
private:
- WebGLLoseContext(WebGLRenderingContextBase*);
+ explicit WebGLLoseContext(WebGLRenderingContextBase*);
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698