diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.h')
-rw-r--r-- | Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.h b/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.h index c4c7b7861..6ff2dd467 100644 --- a/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.h +++ b/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.h @@ -24,18 +24,16 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef WebGLShaderPrecisionFormat_h -#define WebGLShaderPrecisionFormat_h +#pragma once #include "GraphicsContext3D.h" -#include <wtf/PassRefPtr.h> #include <wtf/RefCounted.h> namespace WebCore { class WebGLShaderPrecisionFormat : public RefCounted<WebGLShaderPrecisionFormat> { public: - static PassRefPtr<WebGLShaderPrecisionFormat> create(GC3Dint rangeMin, GC3Dint rangeMax, GC3Dint precision); + static Ref<WebGLShaderPrecisionFormat> create(GC3Dint rangeMin, GC3Dint rangeMax, GC3Dint precision); GC3Dint rangeMin() const; GC3Dint rangeMax() const; @@ -49,6 +47,4 @@ private: GC3Dint m_precision; }; -} - -#endif // WebGLShaderPrecisionFormat_h +} // namespace WebCore |