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

Unified Diff: third_party/WebKit/Source/platform/bindings/V8PerContextData.h

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Work for all comments Created 3 years, 6 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/platform/bindings/V8PerContextData.h
diff --git a/third_party/WebKit/Source/platform/bindings/V8PerContextData.h b/third_party/WebKit/Source/platform/bindings/V8PerContextData.h
index 8e016e2177d175797a9e480f8cd0b11f49335d34..55c57ef09d748f3bec40de788ad4bd8f913e7b37 100644
--- a/third_party/WebKit/Source/platform/bindings/V8PerContextData.h
+++ b/third_party/WebKit/Source/platform/bindings/V8PerContextData.h
@@ -130,6 +130,9 @@ class PLATFORM_EXPORT V8PerContextData final {
Data* GetData(const char* key);
private:
+ // V8SnapshotUtil can access on wrapper_boilerplates_ and constructor_map_.
+ friend class V8SnapshotUtil;
Yuki 2017/06/20 14:20:11 Can you remove this?
peria 2017/06/21 07:19:16 Done.
+
V8PerContextData(v8::Local<v8::Context>);
v8::Local<v8::Object> CreateWrapperFromCacheSlowCase(const WrapperTypeInfo*);

Powered by Google App Engine
This is Rietveld 408576698