Index: Source/core/html/canvas/WebGLShareGroup.cpp |
diff --git a/Source/modules/indexeddb/IndexedDB.h b/Source/core/html/canvas/WebGLShareGroup.cpp |
similarity index 73% |
copy from Source/modules/indexeddb/IndexedDB.h |
copy to Source/core/html/canvas/WebGLShareGroup.cpp |
index 05da27e3a22a61c3ed71c87cce6752cc4047621d..b89206379b2763ef6ebacc0db8a2b407b1f2d6d9 100644 |
--- a/Source/modules/indexeddb/IndexedDB.h |
+++ b/Source/core/html/canvas/WebGLShareGroup.cpp |
@@ -23,33 +23,31 @@ |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef IndexedDB_h |
-#define IndexedDB_h |
+#include "config.h" |
-namespace WebCore { |
+#include "core/html/canvas/WebGLShareGroup.h" |
+ |
+#include "core/html/canvas/WebGLContextGroup.h" |
-namespace IndexedDB { |
+namespace WebCore { |
-enum TransactionMode { |
- TransactionReadOnly = 0, |
- TransactionReadWrite = 1, |
- TransactionVersionChange = 2 |
-}; |
+WebGLShareGroup::WebGLShareGroup(PassRefPtr<WebGLContextGroup> group) |
+ : m_contextGroup(group) |
+{ |
+} |
-enum CursorDirection { |
- CursorNext = 0, |
- CursorNextNoDuplicate = 1, |
- CursorPrev = 2, |
- CursorPrevNoDuplicate = 3, |
-}; |
+WebGLShareGroup::~WebGLShareGroup() |
+{ |
+} |
-enum CursorType { |
- CursorKeyAndValue = 0, |
- CursorKeyOnly |
-}; |
+PassRefPtr<WebGLShareGroup> WebGLShareGroup::create(PassRefPtr<WebGLContextGroup> group) |
+{ |
+ return adoptRef(new WebGLShareGroup(group)); |
+} |
-} // namespace IndexedDB |
+PassRefPtr<WebGLContextGroup> WebGLShareGroup::contextGroup() const |
+{ |
+ return m_contextGroup; |
+} |
} // namespace WebCore |
- |
-#endif // IndexedDB_h |