| 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..a44ad1f003216cdf1afc06752fa4bd689869a99d
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/web/SnapshotCreator.cpp
|
| @@ -0,0 +1,31 @@
|
| +#include "public/web/SnapshotCreator.h"
|
| +
|
| +#include "bindings/core/v8/V8SnapshotCreator.h"
|
| +#include "v8/include/v8.h"
|
| +
|
| +namespace blink {
|
| +
|
| +void SnapshotCreator::TakeSnapshot(v8::SnapshotCreator* creator, int worldId) {
|
| + V8SnapshotCreator::TakeSnapshot(creator, worldId);
|
| +}
|
| +
|
| +v8::StartupData SnapshotCreator::SetUpSnapshotCreator(
|
| + v8::SnapshotCreator* creator) {
|
| + return V8SnapshotCreator::SetUpSnapshotCreator(creator);
|
| +}
|
| +
|
| +v8::SnapshotCreator* SnapshotCreator::GetSnapshotCreator() {
|
| + return V8SnapshotCreator::GetSnapshotCreator();
|
| +}
|
| +
|
| +v8::StartupData SnapshotCreator::Serialize(v8::Local<v8::Object> holder,
|
| + int index,
|
| + void* data) {
|
| + return V8SnapshotCreator::Serialize(holder, index, data);
|
| +}
|
| +
|
| +void SnapshotCreator::SetTakingSnapshot(bool value) {
|
| + V8SnapshotCreator::SetTakingSnapshot(value);
|
| +}
|
| +
|
| +} // namespace blink
|
|
|