diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/bindings/js/JSDataGridDataSource.h')
-rw-r--r-- | src/3rdparty/webkit/WebCore/bindings/js/JSDataGridDataSource.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/3rdparty/webkit/WebCore/bindings/js/JSDataGridDataSource.h b/src/3rdparty/webkit/WebCore/bindings/js/JSDataGridDataSource.h index 2537b00d95..077ef8f80c 100644 --- a/src/3rdparty/webkit/WebCore/bindings/js/JSDataGridDataSource.h +++ b/src/3rdparty/webkit/WebCore/bindings/js/JSDataGridDataSource.h @@ -26,6 +26,8 @@ #ifndef JSDataGridDataSource_h #define JSDataGridDataSource_h +#if ENABLE(DATAGRID) + #include "DataGridDataSource.h" #include <runtime/JSValue.h> #include <runtime/Protect.h> @@ -49,8 +51,6 @@ public: virtual bool isJSDataGridDataSource() const { return true; } JSC::JSValue jsDataSource() const { return m_dataSource.get(); } - virtual void initialize(HTMLDataGridElement*); - private: JSDataGridDataSource(JSC::JSValue, Frame*); @@ -72,4 +72,5 @@ inline const JSDataGridDataSource* asJSDataGridDataSource(const DataGridDataSour } // namespace WebCore +#endif // ENABLE(DATAGRID) #endif // JSDataGridDataSource_h |