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

Unified Diff: third_party/WebKit/Source/web/WebSerializedScriptValue.cpp

Issue 2011553008: [Binding] [Refactoring] Move some create() from SerializedScriptValueFactory to SerializedScriptValu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebSerializedScriptValue.cpp
diff --git a/third_party/WebKit/Source/web/WebSerializedScriptValue.cpp b/third_party/WebKit/Source/web/WebSerializedScriptValue.cpp
index 55891091c0fda5a098b77f67b2d6665800a95c39..71a5aa38424672e595def86fc51545397599c176 100644
--- a/third_party/WebKit/Source/web/WebSerializedScriptValue.cpp
+++ b/third_party/WebKit/Source/web/WebSerializedScriptValue.cpp
@@ -39,7 +39,7 @@ namespace blink {
WebSerializedScriptValue WebSerializedScriptValue::fromString(const WebString& s)
{
- return SerializedScriptValueFactory::instance().createFromWire(s);
+ return SerializedScriptValue::create(s);
}
WebSerializedScriptValue WebSerializedScriptValue::serialize(v8::Local<v8::Value> value)
@@ -53,7 +53,7 @@ WebSerializedScriptValue WebSerializedScriptValue::serialize(v8::Local<v8::Value
WebSerializedScriptValue WebSerializedScriptValue::createInvalid()
{
- return SerializedScriptValueFactory::instance().create();
+ return SerializedScriptValue::create();
}
void WebSerializedScriptValue::reset()
« no previous file with comments | « third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698