| Index: sky/engine/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp
|
| diff --git a/sky/engine/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp b/sky/engine/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp
|
| index 2a93f4ac20ff71bee4323df51ad9d1d283042bc1..8cdbfbb80283831def8238c1db85fea59249440e 100644
|
| --- a/sky/engine/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp
|
| +++ b/sky/engine/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp
|
| @@ -83,12 +83,6 @@ void V8HTMLCanvasElement::getContextMethodCustom(const v8::FunctionCallbackInfo<
|
| attributes = webGLAttributes;
|
| } else {
|
| RefPtr<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");
|
| - if (jsAttributes->Has(alpha) && !isUndefinedOrNull(jsAttributes->Get(alpha)))
|
| - canvas2DAttributes->setAlpha(jsAttributes->Get(alpha)->BooleanValue());
|
| - }
|
| attributes = canvas2DAttributes;
|
| }
|
| CanvasRenderingContext* result = impl->getContext(contextId, attributes.get());
|
|
|