Title: [165010] trunk/Source/WebCore
- Revision
- 165010
- Author
- akl...@apple.com
- Date
- 2014-03-03 14:34:35 -0800 (Mon, 03 Mar 2014)
Log Message
Remove unused DataView code from JSDOMBinding.h
<https://webkit.org/b/129616>
Reviewed by Antti Koivisto.
* bindings/js/JSDOMBinding.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (165009 => 165010)
--- trunk/Source/WebCore/ChangeLog 2014-03-03 22:28:16 UTC (rev 165009)
+++ trunk/Source/WebCore/ChangeLog 2014-03-03 22:34:35 UTC (rev 165010)
@@ -1,3 +1,12 @@
+2014-03-03 Andreas Kling <akl...@apple.com>
+
+ Remove unused DataView code from JSDOMBinding.h
+ <https://webkit.org/b/129616>
+
+ Reviewed by Antti Koivisto.
+
+ * bindings/js/JSDOMBinding.h:
+
2014-03-03 Simon Fraser <simon.fra...@apple.com>
Allow overflow-scroll to be one-finger scrolled until we hook up UIScrollViews
Modified: trunk/Source/WebCore/bindings/js/JSDOMBinding.h (165009 => 165010)
--- trunk/Source/WebCore/bindings/js/JSDOMBinding.h 2014-03-03 22:28:16 UTC (rev 165009)
+++ trunk/Source/WebCore/bindings/js/JSDOMBinding.h 2014-03-03 22:34:35 UTC (rev 165010)
@@ -38,7 +38,6 @@
#include <runtime/JSArray.h>
#include <runtime/JSArrayBuffer.h>
#include <runtime/JSCInlines.h>
-#include <runtime/JSDataView.h>
#include <runtime/JSTypedArrays.h>
#include <runtime/Lookup.h>
#include <runtime/ObjectPrototype.h>
@@ -464,14 +463,6 @@
inline PassRefPtr<JSC::Float32Array> toFloat32Array(JSC::JSValue value) { return JSC::toNativeTypedView<JSC::Float32Adaptor>(value); }
inline PassRefPtr<JSC::Float64Array> toFloat64Array(JSC::JSValue value) { return JSC::toNativeTypedView<JSC::Float64Adaptor>(value); }
-inline PassRefPtr<JSC::DataView> toDataView(JSC::JSValue value)
-{
- JSC::JSDataView* wrapper = JSC::jsDynamicCast<JSC::JSDataView*>(value);
- if (!wrapper)
- return 0;
- return wrapper->typedImpl();
-}
-
template<class T> struct NativeValueTraits;
template<>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes