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

Side by Side Diff: Source/core/html/canvas/WebGLDebugShaders.cpp

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
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 17 matching lines...) Expand all
28 28
29 #include "bindings/core/v8/ExceptionState.h" 29 #include "bindings/core/v8/ExceptionState.h"
30 #include "core/html/canvas/WebGLRenderingContextBase.h" 30 #include "core/html/canvas/WebGLRenderingContextBase.h"
31 #include "core/html/canvas/WebGLShader.h" 31 #include "core/html/canvas/WebGLShader.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 WebGLDebugShaders::WebGLDebugShaders(WebGLRenderingContextBase* context) 35 WebGLDebugShaders::WebGLDebugShaders(WebGLRenderingContextBase* context)
36 : WebGLExtension(context) 36 : WebGLExtension(context)
37 { 37 {
38 ScriptWrappable::init(this);
39 } 38 }
40 39
41 WebGLDebugShaders::~WebGLDebugShaders() 40 WebGLDebugShaders::~WebGLDebugShaders()
42 { 41 {
43 } 42 }
44 43
45 WebGLExtensionName WebGLDebugShaders::name() const 44 WebGLExtensionName WebGLDebugShaders::name() const
46 { 45 {
47 return WebGLDebugShadersName; 46 return WebGLDebugShadersName;
48 } 47 }
(...skipping 16 matching lines...) Expand all
65 { 64 {
66 return context->extensionsUtil()->supportsExtension("GL_ANGLE_translated_sha der_source"); 65 return context->extensionsUtil()->supportsExtension("GL_ANGLE_translated_sha der_source");
67 } 66 }
68 67
69 const char* WebGLDebugShaders::extensionName() 68 const char* WebGLDebugShaders::extensionName()
70 { 69 {
71 return "WEBGL_debug_shaders"; 70 return "WEBGL_debug_shaders";
72 } 71 }
73 72
74 } // namespace blink 73 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGLDebugRendererInfo.cpp ('k') | Source/core/html/canvas/WebGLDepthTexture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698