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

Side by Side Diff: Source/core/html/canvas/WebGLUniformLocation.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 25 matching lines...) Expand all
36 36
37 class WebGLUniformLocation final : public RefCountedWillBeGarbageCollected<WebGL UniformLocation>, public ScriptWrappable { 37 class WebGLUniformLocation final : public RefCountedWillBeGarbageCollected<WebGL UniformLocation>, public ScriptWrappable {
38 DEFINE_WRAPPERTYPEINFO(); 38 DEFINE_WRAPPERTYPEINFO();
39 public: 39 public:
40 static PassRefPtrWillBeRawPtr<WebGLUniformLocation> create(WebGLProgram*, GL int location); 40 static PassRefPtrWillBeRawPtr<WebGLUniformLocation> create(WebGLProgram*, GL int location);
41 41
42 WebGLProgram* program() const; 42 WebGLProgram* program() const;
43 43
44 GLint location() const; 44 GLint location() const;
45 45
46 void trace(Visitor*); 46 DECLARE_TRACE();
47 47
48 protected: 48 protected:
49 WebGLUniformLocation(WebGLProgram*, GLint location); 49 WebGLUniformLocation(WebGLProgram*, GLint location);
50 50
51 private: 51 private:
52 RefPtrWillBeMember<WebGLProgram> m_program; 52 RefPtrWillBeMember<WebGLProgram> m_program;
53 GLint m_location; 53 GLint m_location;
54 unsigned m_linkCount; 54 unsigned m_linkCount;
55 }; 55 };
56 56
57 } // namespace blink 57 } // namespace blink
58 58
59 #endif // WebGLUniformLocation_h 59 #endif // WebGLUniformLocation_h
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGLShaderPrecisionFormat.h ('k') | Source/core/html/canvas/WebGLUniformLocation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698