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

Unified Diff: Source/core/dom/ProcessingInstruction.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/Node.idl ('k') | Source/core/dom/Text.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ProcessingInstruction.idl
diff --git a/Source/core/dom/ProcessingInstruction.idl b/Source/core/dom/ProcessingInstruction.idl
index c082c1035109313123481eca3c09b6b7e0b60e1e..8f3c828a8a55d27c5c4384c4c6485fdb0f20d68f 100644
--- a/Source/core/dom/ProcessingInstruction.idl
+++ b/Source/core/dom/ProcessingInstruction.idl
@@ -17,10 +17,11 @@
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
-
+[DoNotCheckConstants]
interface ProcessingInstruction : CharacterData {
// DOM Level 1
+ const unsigned short nodeType = 7;
readonly attribute DOMString? target;
« no previous file with comments | « Source/core/dom/Node.idl ('k') | Source/core/dom/Text.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698