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

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

Issue 2386173002: reflow comments in Source/bindings/core/v8 (Closed)
Patch Set: Created 4 years, 2 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
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();
}

Powered by Google App Engine
This is Rietveld 408576698