Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Unified Diff: Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp

Issue 718383003: bindings: fixed incorrect dependency of SerializedScriptValue. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp b/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp
index 69c57d6d16b7f32efcbbced57d7d041ef8e37937..6ae8d350ff422a30b9d36425255fef30e1d5cb36 100644
--- a/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp
+++ b/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp
@@ -11,6 +11,7 @@
#include "bindings/core/v8/ExceptionState.h"
#include "bindings/core/v8/ScriptValue.h"
#include "bindings/core/v8/SerializedScriptValue.h"
+#include "bindings/core/v8/SerializedScriptValueFactory.h"
#include "bindings/core/v8/V8DOMConfiguration.h"
#include "bindings/core/v8/V8HiddenValue.h"
#include "bindings/core/v8/V8ObjectConstructor.h"
@@ -254,7 +255,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
return;
if (DOMWrapperWorld::current(info.GetIsolate()).isIsolatedWorld()) {
if (!initializedByEventConstructorReadonlyAnyAttribute.IsEmpty())
- event->setSerializedInitializedByEventConstructorReadonlyAnyAttribute(SerializedScriptValue::createAndSwallowExceptions(info.GetIsolate(), initializedByEventConstructorReadonlyAnyAttribute));
+ event->setSerializedInitializedByEventConstructorReadonlyAnyAttribute(SerializedScriptValueFactory::factory().createAndSwallowExceptions(info.GetIsolate(), initializedByEventConstructorReadonlyAnyAttribute));
}
v8::Handle<v8::Object> wrapper = info.Holder();

Powered by Google App Engine
This is Rietveld 408576698