Index: cc/transform_operations.cc |
diff --git a/cc/transform_operations.cc b/cc/transform_operations.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e198a81ab6dc2c4f6b2fc3e66dafd6937f29ca69 |
--- /dev/null |
+++ b/cc/transform_operations.cc |
@@ -0,0 +1,29 @@ |
+// Copyright 2012 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 "cc/transform_operations.h" |
+#include <public/WebTransformOperations.h> |
jamesr
2012/12/20 19:52:25
"third_party/WebKit/.....", please
|
+ |
+namespace cc { |
+ |
+// static |
+WebKit::WebTransformOperations* TransformOperations::Create() { |
+#ifdef WEBKIT_WEB_TRANSFORM_OPERATIONS_USE_CREATE |
jamesr
2012/12/20 19:52:25
no more ::create()s, please! Just call the constr
|
+ return WebKit::WebTransformOperations::create(); |
+#else |
+ return new WebKit::WebTransformOperations(); |
+#endif |
+} |
+ |
+// static |
+WebKit::WebTransformOperations* TransformOperations::Create( |
+ const WebKit::WebTransformOperations& prototype) { |
+#ifdef WEBKIT_WEB_TRANSFORM_OPERATIONS_USE_CREATE |
+ return WebKit::WebTransformOperations::create(prototype); |
+#else |
+ return new WebKit::WebTransformOperations(prototype); |
+#endif |
+} |
+ |
+} // namespace cc |