| Index: Source/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp
|
| diff --git a/Source/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp b/Source/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp
|
| index e8d4fbb4bafe1b688d648ebdf2d5ac8188f68cb7..96f0d1198f6fdc87b046adf11b8dbb4c3132c3eb 100644
|
| --- a/Source/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp
|
| +++ b/Source/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp
|
| @@ -54,9 +54,9 @@ void V8HTMLCanvasElement::getContextMethodCustom(const v8::FunctionCallbackInfo<
|
| HTMLCanvasElement* impl = V8HTMLCanvasElement::toNative(holder);
|
| TOSTRING_VOID(V8StringResource<>, contextIdResource, info[0]);
|
| String contextId = contextIdResource;
|
| - RefPtr<CanvasContextAttributes> attributes;
|
| + RefPtrWillBeRawPtr<CanvasContextAttributes> attributes = nullptr;
|
| if (contextId == "webgl" || contextId == "experimental-webgl") {
|
| - RefPtr<WebGLContextAttributes> webGLAttributes = WebGLContextAttributes::create();
|
| + RefPtrWillBeRawPtr<WebGLContextAttributes> webGLAttributes = WebGLContextAttributes::create();
|
| if (info.Length() > 1 && info[1]->IsObject()) {
|
| v8::Handle<v8::Object> jsAttributes = info[1]->ToObject();
|
| v8::Handle<v8::String> alpha = v8AtomicString(isolate, "alpha");
|
| @@ -83,7 +83,7 @@ void V8HTMLCanvasElement::getContextMethodCustom(const v8::FunctionCallbackInfo<
|
| }
|
| attributes = webGLAttributes;
|
| } else {
|
| - RefPtr<Canvas2DContextAttributes> canvas2DAttributes = Canvas2DContextAttributes::create();
|
| + RefPtrWillBeRawPtr<Canvas2DContextAttributes> canvas2DAttributes = Canvas2DContextAttributes::create();
|
| if (info.Length() > 1 && info[1]->IsObject()) {
|
| v8::Handle<v8::Object> jsAttributes = info[1]->ToObject();
|
| v8::Handle<v8::String> alpha = v8AtomicString(isolate, "alpha");
|
|
|