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

Unified Diff: Source/core/dom/DocumentType.idl

Issue 555723002: Install nodeType attribute as constant in function tempalte Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 3 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/core/dom/DocumentFragment.idl ('k') | Source/core/dom/Element.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentType.idl
diff --git a/Source/core/dom/DocumentType.idl b/Source/core/dom/DocumentType.idl
index 680352bc1b6e4283498cd28361a82679633273c6..f0c1ba6737697e3fa6978a4bf525aadcfcb74655 100644
--- a/Source/core/dom/DocumentType.idl
+++ b/Source/core/dom/DocumentType.idl
@@ -16,10 +16,11 @@
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
-
+[DoNotCheckConstants]
interface DocumentType : Node {
// DOM Level 1
+ [DoNotCheckConstants] const unsigned short nodeType = 10;
readonly attribute DOMString name;
« no previous file with comments | « Source/core/dom/DocumentFragment.idl ('k') | Source/core/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698