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

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

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Work for yuki's 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..10af75f0e8ad396dd89e4f54ea03845b2fc5a622 100644
--- a/third_party/WebKit/Source/platform/bindings/ScriptWrappable.h
+++ b/third_party/WebKit/Source/platform/bindings/ScriptWrappable.h
@@ -155,11 +155,13 @@ 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;
+ // TODO(peria): Remove V8SnapshotUtil from friend class list.
+ friend class V8SnapshotUtil;
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