Index: Source/core/html/canvas/WebGLContextAttributes.cpp |
diff --git a/Source/core/html/canvas/WebGLContextAttributes.cpp b/Source/core/html/canvas/WebGLContextAttributes.cpp |
index 385720617fd7c74d1b036112ffc5bf97dcd8eb4d..89272519a5f22584986ccc226f3878f5e9b58e1e 100644 |
--- a/Source/core/html/canvas/WebGLContextAttributes.cpp |
+++ b/Source/core/html/canvas/WebGLContextAttributes.cpp |
@@ -32,9 +32,11 @@ |
namespace WebCore { |
-PassRefPtr<WebGLContextAttributes> WebGLContextAttributes::create() |
+DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(WebGLContextAttributes); |
+ |
+PassRefPtrWillBeRawPtr<WebGLContextAttributes> WebGLContextAttributes::create() |
{ |
- return adoptRef(new WebGLContextAttributes()); |
+ return adoptRefWillBeNoop(new WebGLContextAttributes()); |
} |
WebGLContextAttributes::WebGLContextAttributes() |
@@ -63,13 +65,9 @@ WebGLContextAttributes::WebGLContextAttributes(const WebGLContextAttributes& att |
ScriptWrappable::init(this); |
} |
-WebGLContextAttributes::~WebGLContextAttributes() |
-{ |
-} |
- |
-PassRefPtr<WebGLContextAttributes> WebGLContextAttributes::clone() const |
+PassRefPtrWillBeRawPtr<WebGLContextAttributes> WebGLContextAttributes::clone() const |
{ |
- return adoptRef(new WebGLContextAttributes(*this)); |
+ return adoptRefWillBeNoop(new WebGLContextAttributes(*this)); |
} |
bool WebGLContextAttributes::alpha() const |