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

Unified Diff: third_party/WebKit/Source/platform/bindings/ScriptWrappable.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/ScriptWrappable.h
diff --git a/third_party/WebKit/Source/platform/bindings/ScriptWrappable.h b/third_party/WebKit/Source/platform/bindings/ScriptWrappable.h
index 762b8d0b5c1416eaa497e2c93ba4e2c1932259af..5d5f2ef58197eac39e1b62547362c83355651259 100644
--- a/third_party/WebKit/Source/platform/bindings/ScriptWrappable.h
+++ b/third_party/WebKit/Source/platform/bindings/ScriptWrappable.h
@@ -155,11 +155,12 @@ class PLATFORM_EXPORT ScriptWrappable : public TraceWrapperBase {
void MarkWrapper(const WrapperVisitor*) const;
private:
- // These classes are exceptionally allowed to use mainWorldWrapper().
+ // These classes are exceptionally allowed to use MainWorldWrapper().
friend class DOMDataStore;
friend class HeapSnaphotWrapperVisitor;
friend class V8HiddenValue;
friend class V8PrivateProperty;
+ friend class V8SnapshotUtil;
Yuki 2017/06/20 14:20:11 Add TODO(peria): Remove V8SnapshotUtil from a list
peria 2017/06/21 07:19:16 Done.
v8::Local<v8::Object> MainWorldWrapper(v8::Isolate* isolate) const {
return v8::Local<v8::Object>::New(isolate, main_world_wrapper_);

Powered by Google App Engine
This is Rietveld 408576698