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

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

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/WebGLRenderingContextBase.h
diff --git a/Source/core/html/canvas/WebGLRenderingContextBase.h b/Source/core/html/canvas/WebGLRenderingContextBase.h
index ce3d6705690ecf09ff1446249c7d3b69846a70d2..e63060dfcb7dcf3f1e491c1e4bf01bbf7c313598 100644
--- a/Source/core/html/canvas/WebGLRenderingContextBase.h
+++ b/Source/core/html/canvas/WebGLRenderingContextBase.h
@@ -376,7 +376,7 @@ public:
void populateSubscribedValuesCHROMIUM(GLenum target);
void uniformValuebufferCHROMIUM(const WebGLUniformLocation*, GLenum target, GLenum subscription);
- virtual void trace(Visitor*) override;
+ DECLARE_VIRTUAL_TRACE();
// Returns approximate gpu memory allocated per pixel.
int externallyAllocatedBytesPerPixel();
@@ -387,7 +387,7 @@ public:
RefPtrWillBeMember<WebGLTexture> m_texture2DBinding;
RefPtrWillBeMember<WebGLTexture> m_textureCubeMapBinding;
- void trace(Visitor*);
+ DECLARE_TRACE();
};
void setFilterLevel(SkPaint::FilterLevel);
@@ -627,7 +627,7 @@ protected:
virtual const char* extensionName() const = 0;
virtual void loseExtension() = 0;
- virtual void trace(Visitor*) { }
+ DEFINE_INLINE_VIRTUAL_TRACE() { }
private:
bool m_draft;
@@ -681,7 +681,7 @@ protected:
}
}
- virtual void trace(Visitor* visitor) override
+ DEFINE_INLINE_VIRTUAL_TRACE()
{
visitor->trace(m_extension);
ExtensionTracker::trace(visitor);
« no previous file with comments | « Source/core/html/canvas/WebGLRenderingContext.cpp ('k') | Source/core/html/canvas/WebGLRenderingContextBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698