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

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

Issue 15876011: Make WebGL extensions get lost when context is lost. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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/OESVertexArrayObject.h
diff --git a/Source/core/html/canvas/OESVertexArrayObject.h b/Source/core/html/canvas/OESVertexArrayObject.h
index da2ac64dd24ab08f25844712264f4893cffa8191..7ac7de48d018abb224df6ac1cf4f2cbe782d4b78 100644
--- a/Source/core/html/canvas/OESVertexArrayObject.h
+++ b/Source/core/html/canvas/OESVertexArrayObject.h
@@ -30,7 +30,7 @@
#include "core/html/canvas/WebGLExtension.h"
#include "core/html/canvas/WebGLVertexArrayObjectOES.h"
#include "core/platform/graphics/GraphicsTypes3D.h"
-#include "wtf/PassOwnPtr.h"
+#include "wtf/PassRefPtr.h"
#include "wtf/UnusedParam.h"
namespace WebCore {
@@ -42,7 +42,7 @@ typedef int ExceptionCode;
class OESVertexArrayObject : public WebGLExtension, public ScriptWrappable {
public:
- static PassOwnPtr<OESVertexArrayObject> create(WebGLRenderingContext*);
+ static PassRefPtr<OESVertexArrayObject> create(WebGLRenderingContext*);
static bool supported(WebGLRenderingContext*);
static const char* getExtensionName();
« no previous file with comments | « Source/core/html/canvas/OESTextureHalfFloatLinear.cpp ('k') | Source/core/html/canvas/OESVertexArrayObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698