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

Unified Diff: Source/bindings/modules/v8/ModuleBindingsInitializer.cpp

Issue 618373003: [bindings] partial interfaces should not violate componentization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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: Source/bindings/modules/v8/ModuleBindingsInitializer.cpp
diff --git a/Source/bindings/modules/v8/ModuleBindingsInitializer.cpp b/Source/bindings/modules/v8/ModuleBindingsInitializer.cpp
index fcf86c7416092db98bd79a2c7541467745ececd0..a9a82c2aaca09ef00ca9d325ccb8f336992fee39 100644
--- a/Source/bindings/modules/v8/ModuleBindingsInitializer.cpp
+++ b/Source/bindings/modules/v8/ModuleBindingsInitializer.cpp
@@ -12,6 +12,10 @@
namespace blink {
+// initPartialInterfacesInModules is generated by
+// generate_init_partial_interfaces.py.
+void initPartialInterfacesInModules();
+
static void didLeaveScriptContextForModule(v8::Isolate* isolate)
{
// Indexed DB requires that transactions are created with an internal |active| flag
@@ -22,6 +26,7 @@ static void didLeaveScriptContextForModule(v8::Isolate* isolate)
void ModuleBindingsInitializer::init()
{
ModuleProxy::moduleProxy().registerDidLeaveScriptContextForRecursionScope(didLeaveScriptContextForModule);
+ initPartialInterfacesInModules();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698