Index: third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.cpp b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.cpp |
index 20ac6b69c6a2ac3c0179a44c851fb38e24f7ef89..103b541fbe319a9f80ad90df00f4af97e4c6f82d 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.cpp |
@@ -48,8 +48,9 @@ v8::Local<v8::Value> SerializedScriptValueFactory::deserialize( |
deserializer.setBlobInfoArray(blobInfo); |
return deserializer.deserialize(); |
} |
- // deserialize() can run arbitrary script (e.g., setters), which could result in |this| being destroyed. |
- // Holding a RefPtr ensures we are alive (along with our internal data) throughout the operation. |
+ // deserialize() can run arbitrary script (e.g., setters), which could result |
+ // in |this| being destroyed. Holding a RefPtr ensures we are alive (along |
+ // with our internal data) throughout the operation. |
RefPtr<SerializedScriptValue> protect(value); |
String& data = value->data(); |
if (!data.impl()) |
@@ -69,8 +70,9 @@ v8::Local<v8::Value> SerializedScriptValueFactory::deserialize( |
value->getArrayBufferContentsArray(), |
value->getImageBitmapContentsArray()); |
- // deserialize() can run arbitrary script (e.g., setters), which could result in |this| being destroyed. |
- // Holding a RefPtr ensures we are alive (along with our internal data) throughout the operation. |
+ // deserialize() can run arbitrary script (e.g., setters), which could result |
+ // in |this| being destroyed. Holding a RefPtr ensures we are alive (along |
+ // with our internal data) throughout the operation. |
return deserializer.deserialize(); |
} |