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

Unified Diff: Source/core/dom/Document.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/Comment.idl ('k') | Source/core/dom/DocumentFragment.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.idl
diff --git a/Source/core/dom/Document.idl b/Source/core/dom/Document.idl
index 63e2d84df713719d60a4d9d2e477522380b3fff7..414088f13b885ec1bdf789b54ea1c96914704c32 100644
--- a/Source/core/dom/Document.idl
+++ b/Source/core/dom/Document.idl
@@ -23,10 +23,12 @@ callback CustomElementConstructor = Element ();
typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
[
- SpecialWrapFor=(HTMLDocument,XMLDocument)
+ SpecialWrapFor=(HTMLDocument,XMLDocument),
+ DoNotCheckConstants,
] interface Document : Node {
// DOM Level 1 Core
+ const unsigned short nodeType = 9;
readonly attribute DocumentType doctype;
readonly attribute DOMImplementation implementation;
readonly attribute Element documentElement;
« no previous file with comments | « Source/core/dom/Comment.idl ('k') | Source/core/dom/DocumentFragment.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698