Title: [102356] trunk/Source/WebCore
- Revision
- 102356
- Author
- senorbla...@chromium.org
- Date
- 2011-12-08 11:25:47 -0800 (Thu, 08 Dec 2011)
Log Message
Add missing V8 bindings to get CSS_FILTERS to compile in Chromium.
https://bugs.webkit.org/show_bug.cgi?id=74091
Reviewed by Kenneth Russell.
Will be covered by tests in css3/filters (when enabled).
* bindings/v8/custom/V8WebKitCSSFilterValueCustom.cpp: Added.
(WebCore::V8WebKitCSSFilterValue::indexedPropertyGetter):
Modified Paths
Added Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (102355 => 102356)
--- trunk/Source/WebCore/ChangeLog 2011-12-08 19:19:05 UTC (rev 102355)
+++ trunk/Source/WebCore/ChangeLog 2011-12-08 19:25:47 UTC (rev 102356)
@@ -1,3 +1,15 @@
+2011-12-08 Stephen White <senorbla...@chromium.org>
+
+ Add missing V8 bindings to get CSS_FILTERS to compile in Chromium.
+ https://bugs.webkit.org/show_bug.cgi?id=74091
+
+ Reviewed by Kenneth Russell.
+
+ Will be covered by tests in css3/filters (when enabled).
+
+ * bindings/v8/custom/V8WebKitCSSFilterValueCustom.cpp: Added.
+ (WebCore::V8WebKitCSSFilterValue::indexedPropertyGetter):
+
2011-12-08 Beth Dakin <bda...@apple.com>
https://bugs.webkit.org/show_bug.cgi?id=73348
Added: trunk/Source/WebCore/bindings/v8/custom/V8WebKitCSSFilterValueCustom.cpp (0 => 102356)
--- trunk/Source/WebCore/bindings/v8/custom/V8WebKitCSSFilterValueCustom.cpp (rev 0)
+++ trunk/Source/WebCore/bindings/v8/custom/V8WebKitCSSFilterValueCustom.cpp 2011-12-08 19:25:47 UTC (rev 102356)
@@ -0,0 +1,45 @@
+/*
+ * Copyright (C) 2011 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+
+#if ENABLE(CSS_FILTERS)
+
+#include "V8WebKitCSSFilterValue.h"
+
+#include "V8Binding.h"
+#include "WebKitCSSFilterValue.h"
+
+namespace WebCore {
+
+v8::Handle<v8::Value> V8WebKitCSSFilterValue::indexedPropertyGetter(uint32_t index, const v8::AccessorInfo& info)
+{
+ INC_STATS("DOM.WebKitCSSFilterValue.IndexedPropertyGetter");
+ WebKitCSSFilterValue* list = V8WebKitCSSFilterValue::toNative(info.Holder());
+ return toV8(list->item(index));
+}
+
+} // namespace WebCore
+
+#endif
Property changes on: trunk/Source/WebCore/bindings/v8/custom/V8WebKitCSSFilterValueCustom.cpp
___________________________________________________________________
Added: svn:eol-style
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes