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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.cpp

Issue 2429343004: [CachedAccessor] for window.document. (Closed)
Patch Set: Fix expectation for global-interface-listing-expected, windows. Created 4 years, 1 month 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/bindings/core/v8/V8PrivateProperty.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.cpp b/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.cpp
index ce85efcdf7dea8db5599cc889b07dfe5ef1dd715..865447da06afd6001c032b795ed6746876c2bc32 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.cpp
@@ -28,7 +28,7 @@ v8::Local<v8::Private> V8PrivateProperty::createV8Private(v8::Isolate* isolate,
isolate, reinterpret_cast<const uint8_t*>(symbol),
v8::NewStringType::kNormal, static_cast<int>(length))
.ToLocalChecked();
- return v8::Private::ForApi(isolate, str);
+ return v8::Private::New(isolate, str);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698