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

Unified Diff: src/api.cc

Issue 2772723005: Export the current data format version used by ValueSerializer. (Closed)
Patch Set: . Created 3 years, 9 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 | « include/v8.h ('k') | src/value-serializer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 7e699f4595adae04745f07746f7918dba31aeb25..b215b6d6713e0f0bf9e0c811c403e5bde8d41acb 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -3145,6 +3145,11 @@ struct ValueSerializer::PrivateData {
i::ValueSerializer serializer;
};
+// static
+uint32_t ValueSerializer::GetCurrentDataFormatVersion() {
+ return i::ValueSerializer::GetCurrentDataFormatVersion();
+}
+
ValueSerializer::ValueSerializer(Isolate* isolate)
: ValueSerializer(isolate, nullptr) {}
« no previous file with comments | « include/v8.h ('k') | src/value-serializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698