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

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

Issue 14670019: Add a deprecation warning for document.clear() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Change message slightly Created 7 years, 7 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 | « LayoutTests/fast/dom/document-clear-expected.txt ('k') | Source/core/html/HTMLDocument.idl » ('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 b42f1528e029339cbd3ee68872d3e536084d555f..904d5780f9673791703da82d4015ac200b798767 100644
--- a/Source/bindings/scripts/CodeGeneratorV8.pm
+++ b/Source/bindings/scripts/CodeGeneratorV8.pm
@@ -1265,6 +1265,7 @@ sub GenerateDeprecationNotification
my $deprecateAs = shift;
if ($deprecateAs) {
AddToImplIncludes("core/page/PageConsole.h");
+ AddToImplIncludes("core/page/UseCounter.h");
return " UseCounter::countDeprecation(activeDOMWindow(), UseCounter::${deprecateAs});\n";
}
return "";
« no previous file with comments | « LayoutTests/fast/dom/document-clear-expected.txt ('k') | Source/core/html/HTMLDocument.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698