| Index: Source/WebCore/page/Page.cpp
|
| ===================================================================
|
| --- Source/WebCore/page/Page.cpp (revision 93254)
|
| +++ Source/WebCore/page/Page.cpp (working copy)
|
| @@ -75,10 +75,6 @@
|
| #include <wtf/StdLibExtras.h>
|
| #include <wtf/text/StringHash.h>
|
|
|
| -#if ENABLE(ACCELERATED_2D_CANVAS)
|
| -#include "GraphicsContext3D.h"
|
| -#endif
|
| -
|
| #if ENABLE(DOM_STORAGE)
|
| #include "StorageArea.h"
|
| #include "StorageNamespace.h"
|
| @@ -752,23 +748,6 @@
|
| frame->script()->attachDebugger(m_debugger);
|
| }
|
|
|
| -GraphicsContext3D* Page::sharedGraphicsContext3D()
|
| -{
|
| -#if ENABLE(ACCELERATED_2D_CANVAS)
|
| - if (!m_sharedGraphicsContext3D) {
|
| - GraphicsContext3D::Attributes attr;
|
| - attr.depth = false;
|
| - attr.stencil = true;
|
| - attr.antialias = false;
|
| - attr.canRecoverFromContextLoss = false; // Canvas contexts can not handle lost contexts.
|
| - m_sharedGraphicsContext3D = GraphicsContext3D::create(attr, chrome());
|
| - }
|
| - return m_sharedGraphicsContext3D.get();
|
| -#else // !ENABLE(ACCELERATED_2D_CANVAS)
|
| - return 0;
|
| -#endif
|
| -}
|
| -
|
| #if ENABLE(DOM_STORAGE)
|
| StorageNamespace* Page::sessionStorage(bool optionalCreate)
|
| {
|
|
|