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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptValue.cpp

Issue 2017893002: [Binding] [Refactoring] Use SerializedScriptValue class as external interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error Created 4 years, 7 months 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ScriptValue.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptValue.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptValue.cpp
index d847b9b3849804f57b34dbd618d74c777863bf1b..aa48c7a686d87d33d59ad6bd7c9980ef5becb3e1 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptValue.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptValue.cpp
@@ -63,7 +63,7 @@ v8::Local<v8::Value> ScriptValue::v8ValueFor(ScriptState* targetScriptState) con
ASSERT(isolate->InContext());
v8::Local<v8::Value> value = m_value->newLocal(isolate);
- RefPtr<SerializedScriptValue> serialized = SerializedScriptValueFactory::instance().createAndSwallowExceptions(isolate, value);
+ RefPtr<SerializedScriptValue> serialized = SerializedScriptValue::serializeAndSwallowExceptions(isolate, value);
return serialized->deserialize();
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698