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

Unified Diff: Source/WebCore/bindings/dart/custom/DartWebGLRenderingContextCustom.cpp

Issue 9808037: Proper support for sequence<T> in IDLs. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 years, 9 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/WebCore/bindings/dart/custom/DartWebGLRenderingContextCustom.cpp
diff --git a/Source/WebCore/bindings/dart/custom/DartWebGLRenderingContextCustom.cpp b/Source/WebCore/bindings/dart/custom/DartWebGLRenderingContextCustom.cpp
index da72506ca6a14bccd73bfcb3e769961401708515..f25d452d956aa80a7eb233a6da1ee4a0e65aed3a 100644
--- a/Source/WebCore/bindings/dart/custom/DartWebGLRenderingContextCustom.cpp
+++ b/Source/WebCore/bindings/dart/custom/DartWebGLRenderingContextCustom.cpp
@@ -99,7 +99,7 @@ static Dart_Handle webGLGetInfoToDart(const WebGLGetInfo& info)
case WebGLGetInfo::kTypeBool:
return toDartValue(info.getBool());
case WebGLGetInfo::kTypeBoolArray:
- return vectorToDartList(info.getBoolArray());
+ return toDartValue(info.getBoolArray());
case WebGLGetInfo::kTypeFloat:
return toDartValue(info.getFloat());
case WebGLGetInfo::kTypeInt:
@@ -215,7 +215,7 @@ void getAttachedShadersCallback(Dart_NativeArguments args)
}
Dart_Handle result;
if (succeed) {
- result = vectorToDartList(shaders);
+ result = toDartValue(shaders);
if (!DartUtilities::checkResult(result, exception))
goto fail;
} else
@@ -414,7 +414,7 @@ void getSupportedExtensionsCallback(Dart_NativeArguments args)
{
WebGLRenderingContext* context = DartDOMWrapper::receiver<WebGLRenderingContext>(args);
Vector<String> value = context->getSupportedExtensions();
- Dart_Handle result = vectorToDartList(value);
+ Dart_Handle result = toDartValue(value);
if (!DartUtilities::checkResult(result, exception))
goto fail;

Powered by Google App Engine
This is Rietveld 408576698