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

Unified Diff: Source/core/html/canvas/WebGLDebugShaders.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: Have Nullable<T>::trace() use TraceIfNeeded<>. 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/WebGLDebugShaders.h
diff --git a/Source/core/html/canvas/WebGLDebugShaders.h b/Source/core/html/canvas/WebGLDebugShaders.h
index f74badcb8dc474f07bab5574ed2bfccb8c8df26d..fa0aa9ddc10d3ac4c3150fc9559c231a55e6b039 100644
--- a/Source/core/html/canvas/WebGLDebugShaders.h
+++ b/Source/core/html/canvas/WebGLDebugShaders.h
@@ -36,7 +36,7 @@ class WebGLShader;
class WebGLDebugShaders FINAL : public WebGLExtension, public ScriptWrappable {
public:
- static PassRefPtr<WebGLDebugShaders> create(WebGLRenderingContextBase*);
+ static PassRefPtrWillBeRawPtr<WebGLDebugShaders> create(WebGLRenderingContextBase*);
static bool supported(WebGLRenderingContextBase*);
static const char* extensionName();
@@ -46,7 +46,7 @@ public:
String getTranslatedShaderSource(WebGLShader*);
private:
- WebGLDebugShaders(WebGLRenderingContextBase*);
+ explicit WebGLDebugShaders(WebGLRenderingContextBase*);
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698