Index: third_party/WebKit/Source/web/SnapshotCreator.cpp |
diff --git a/third_party/WebKit/Source/web/SnapshotCreator.cpp b/third_party/WebKit/Source/web/SnapshotCreator.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..03ce5d7ff51182da75feb9bfc7d07c3a1a99bfe8 |
--- /dev/null |
+++ b/third_party/WebKit/Source/web/SnapshotCreator.cpp |
@@ -0,0 +1,20 @@ |
+#include "public/web/SnapshotCreator.h" |
haraken
2017/05/20 19:10:03
Add a copyright.
peria
2017/05/30 08:25:44
Done.
|
+ |
+#include "bindings/core/v8/V8SnapshotCreator.h" |
+#include "v8/include/v8.h" |
+ |
+namespace blink { |
+ |
+v8::StartupData SnapshotCreator::TakeSnapshot(v8::SnapshotCreator* creator) { |
+ return V8SnapshotCreator::TakeSnapshot(creator); |
+} |
+ |
+v8::SnapshotCreator* SnapshotCreator::GetSnapshotCreator() { |
+ return V8SnapshotCreator::GetSnapshotCreator(); |
+} |
+ |
+void SnapshotCreator::SetTakingSnapshot(bool value) { |
+ V8SnapshotCreator::SetTakingSnapshot(value); |
+} |
+ |
+} // namespace blink |