| Index: content/child/indexed_db/webidbfactory_impl.cc
|
| diff --git a/content/child/indexed_db/webidbfactory_impl.cc b/content/child/indexed_db/webidbfactory_impl.cc
|
| index 1f8e887129cc2d312995b4bbf43ce860ca5fd10f..1897d91db8423d75969cf945bc329e20313cbaf9 100644
|
| --- a/content/child/indexed_db/webidbfactory_impl.cc
|
| +++ b/content/child/indexed_db/webidbfactory_impl.cc
|
| @@ -8,10 +8,12 @@
|
| #include "content/child/indexed_db/indexed_db_callbacks_impl.h"
|
| #include "content/child/indexed_db/indexed_db_database_callbacks_impl.h"
|
| #include "content/child/storage_util.h"
|
| +#include "content/common/indexed_db/indexed_db_data_format_version.h"
|
| #include "ipc/ipc_sync_channel.h"
|
| #include "mojo/public/cpp/bindings/strong_associated_binding.h"
|
| #include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
|
| #include "third_party/WebKit/public/platform/WebString.h"
|
| +#include "third_party/WebKit/public/web/WebSerializedScriptValueVersion.h"
|
|
|
| using blink::WebIDBCallbacks;
|
| using blink::WebIDBDatabase;
|
| @@ -116,8 +118,13 @@ WebIDBFactoryImpl::IOThreadHelper::IOThreadHelper(
|
| WebIDBFactoryImpl::IOThreadHelper::~IOThreadHelper() {}
|
|
|
| FactoryAssociatedPtr& WebIDBFactoryImpl::IOThreadHelper::GetService() {
|
| - if (!service_)
|
| + if (!service_) {
|
| sync_message_filter_->GetRemoteAssociatedInterface(&service_);
|
| + DCHECK(service_);
|
| + auto version = blink::WebSerializedScriptValueVersion::current();
|
| + service_->Configure(
|
| + IndexedDBDataFormatVersion(version.v8Version, version.blinkVersion));
|
| + }
|
| return service_;
|
| }
|
|
|
|
|