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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h

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/SerializedScriptValue.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h
index 72b69ced9b0a9fdf8244b1e82ff29adfcc1b8ba3..b51585c87ae4910829870b4ed6c6e4561d1c65b5 100644
--- a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h
+++ b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h
@@ -64,7 +64,8 @@ class CORE_EXPORT SerializedScriptValue
// Version 5: Added CryptoKeyTag for Key objects.
// Version 6: Added indexed serialization for File, Blob, and FileList.
// Version 7: Extended File serialization with user visibility.
- // Version 8: File.lastModified in milliseconds (seconds-based in earlier versions.)
+ // Version 8: File.lastModified in milliseconds (seconds-based in earlier
+ // versions.)
// Version 9: Added Map and Set support.
static const uint32_t wireFormatVersion = 9;
@@ -101,18 +102,21 @@ class CORE_EXPORT SerializedScriptValue
MessagePortArray* = 0,
const WebBlobInfoArray* = 0);
- // Helper function which pulls the values out of a JS sequence and into a MessagePortArray.
- // Also validates the elements per sections 4.1.13 and 4.1.15 of the WebIDL spec and section 8.3.3
- // of the HTML5 spec and generates exceptions as appropriate.
- // Returns true if the array was filled, or false if the passed value was not of an appropriate type.
+ // Helper function which pulls the values out of a JS sequence and into a
+ // MessagePortArray. Also validates the elements per sections 4.1.13 and
+ // 4.1.15 of the WebIDL spec and section 8.3.3 of the HTML5 spec and generates
+ // exceptions as appropriate.
+ // Returns true if the array was filled, or false if the passed value was not
+ // of an appropriate type.
static bool extractTransferables(v8::Isolate*,
v8::Local<v8::Value>,
int,
Transferables&,
ExceptionState&);
- // Informs the V8 about external memory allocated and owned by this object. Large values should contribute
- // to GC counters to eventually trigger a GC, otherwise flood of postMessage() can cause OOM.
+ // Informs the V8 about external memory allocated and owned by this object.
+ // Large values should contribute to GC counters to eventually trigger a GC,
+ // otherwise flood of postMessage() can cause OOM.
// Ok to invoke multiple times (only adds memory once).
// The memory registration is revoked automatically in destructor.
void registerMemoryAllocatedWithCurrentScriptContext();

Powered by Google App Engine
This is Rietveld 408576698