Index: third_party/WebKit/Source/bindings/core/v8/CSSPaintBinding.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/CSSPaintBinding.cpp b/third_party/WebKit/Source/bindings/core/v8/CSSPaintBinding.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0dffa4ac7e54c1c6e117f8fac66640c1d8121735 |
--- /dev/null |
+++ b/third_party/WebKit/Source/bindings/core/v8/CSSPaintBinding.cpp |
@@ -0,0 +1,26 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "bindings/core/v8/CSSPaintBinding.h" |
+ |
+namespace blink { |
+ |
+PassOwnPtr<CSSPaintBinding> CSSPaintBinding::create(v8::Isolate* isolate, v8::Local<v8::Function> constructor, v8::Local<v8::Function> paint) |
+{ |
+ return adoptPtr(new CSSPaintBinding(isolate, constructor, paint)); |
+} |
+ |
+CSSPaintBinding::CSSPaintBinding(v8::Isolate* isolate, v8::Local<v8::Function> constructor, v8::Local<v8::Function> paint) |
+ : m_constructor(isolate, constructor) |
+ , m_paint(isolate, paint) |
+{ |
+ ASSERT(!m_constructor.isEmpty()); |
+ ASSERT(!m_paint.isEmpty()); |
+} |
+ |
+CSSPaintBinding::~CSSPaintBinding() |
+{ |
+} |
+ |
+} // namespace blink |