Index: Source/core/html/canvas/WebGLContextAttributes.cpp |
diff --git a/Source/core/html/canvas/WebGLContextAttributes.cpp b/Source/core/html/canvas/WebGLContextAttributes.cpp |
index 36ed468320bb6944351fb28cd006e93c08979bfe..d534b45ff3ea7af0e686ba9a87f8c44c2ca12d3a 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 |