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_); |