summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLCanvasElement.idl
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLCanvasElement.idl')
-rw-r--r--WebCore/html/HTMLCanvasElement.idl5
1 files changed, 4 insertions, 1 deletions
diff --git a/WebCore/html/HTMLCanvasElement.idl b/WebCore/html/HTMLCanvasElement.idl
index 35c7383..e457c15 100644
--- a/WebCore/html/HTMLCanvasElement.idl
+++ b/WebCore/html/HTMLCanvasElement.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -34,6 +34,9 @@ module html {
attribute long width;
attribute long height;
+ DOMString toDataURL(in [ConvertUndefinedOrNullToNullString] DOMString type)
+ raises(DOMException);
+
#if !defined(LANGUAGE_OBJECTIVE_C)
DOMObject getContext(in DOMString contextId);
#endif