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

Unified Diff: Source/bindings/scripts/CodeGeneratorV8.pm

Issue 14083009: Remove ENABLE_CUSTOM_ELEMENTS compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebasing. Created 7 years, 8 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
« no previous file with comments | « Source/WebKit/chromium/src/WebRuntimeFeatures.cpp ('k') | Source/bindings/v8/CustomElementHelpers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/CodeGeneratorV8.pm
diff --git a/Source/bindings/scripts/CodeGeneratorV8.pm b/Source/bindings/scripts/CodeGeneratorV8.pm
index ba38bb6987608368159bb8aa9ef736af889ee1b9..28c96cc9eff29b513475c8c34d986f1d19a465f8 100644
--- a/Source/bindings/scripts/CodeGeneratorV8.pm
+++ b/Source/bindings/scripts/CodeGeneratorV8.pm
@@ -1375,11 +1375,9 @@ sub GenerateCustomElementInvocationScopeIfNeeded
die "IDL error: [Reflect] and [DeliverCustomElementCallbacks] cannot coexist yet";
}
- AddToImplIncludes("CustomElementRegistry.h", "CUSTOM_ELEMENTS");
+ AddToImplIncludes("CustomElementRegistry.h");
$code .= <<END;
-#if ENABLE(CUSTOM_ELEMENTS)
CustomElementRegistry::CallbackDeliveryScope deliveryScope;
-#endif
END
}
return $code;
« no previous file with comments | « Source/WebKit/chromium/src/WebRuntimeFeatures.cpp ('k') | Source/bindings/v8/CustomElementHelpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698