Index: third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.h b/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.h |
index e6a1fdff4e79929855e6928f685656811909c5c3..24fc590a060c690e2dc9513ecbaa8254e6f3777b 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.h |
@@ -39,6 +39,7 @@ class ScriptWrappable; |
X(MutationObserver, Callback) \ |
X(NamedConstructor, Initialized) \ |
X(PerformanceObserver, Callback) \ |
+ X(PopStateEvent, State) \ |
X(SameObject, NotificationActions) \ |
X(SameObject, NotificationData) \ |
X(SameObject, NotificationVibrate) \ |
@@ -168,7 +169,7 @@ class CORE_EXPORT V8PrivateProperty { |
privateProp->m_symbolWindowDocumentCachedAccessor.newLocal(isolate)); |
} |
- static Symbol createSymbol(v8::Isolate* isolate, const char* symbol) { |
+ static Symbol getSymbol(v8::Isolate* isolate, const char* symbol) { |
return Symbol(isolate, createCachedV8Private(isolate, symbol)); |
} |
@@ -177,6 +178,7 @@ class CORE_EXPORT V8PrivateProperty { |
static v8::Local<v8::Private> createV8Private(v8::Isolate*, |
const char* symbol); |
+ // TODO(peria): Remove this method. We should not use v8::Private::ForApi(). |
static v8::Local<v8::Private> createCachedV8Private(v8::Isolate*, |
const char* symbol); |