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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h

Issue 2458183002: Eagerly install Origin Trial features on window (Closed)
Patch Set: Use correct context and enter it before installing attributes on window 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/V8DOMConfiguration.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h b/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h
index 62e15c0abec99387aa47d35f2c33bc03e17e9a69..82cc00bb24a55f8f56aa3c286485fade70c2fa0e 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h
@@ -36,6 +36,8 @@
namespace blink {
+class ScriptState;
+
class CORE_EXPORT V8DOMConfiguration final {
STATIC_ONLY(V8DOMConfiguration);
@@ -96,8 +98,7 @@ class CORE_EXPORT V8DOMConfiguration final {
v8::Local<v8::ObjectTemplate> prototypeTemplate,
const AttributeConfiguration&);
- static void installAttribute(v8::Isolate*,
- const DOMWrapperWorld&,
+ static void installAttribute(const ScriptState*,
v8::Local<v8::Object> instance,
v8::Local<v8::Object> prototype,
const AttributeConfiguration&);

Powered by Google App Engine
This is Rietveld 408576698