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

Side by Side Diff: Source/core/dom/ProcessingInstruction.cpp

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/NodeList.h ('k') | Source/core/dom/Range.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com)
3 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 27 matching lines...) Expand all
38 38
39 inline ProcessingInstruction::ProcessingInstruction(Document& document, const St ring& target, const String& data) 39 inline ProcessingInstruction::ProcessingInstruction(Document& document, const St ring& target, const String& data)
40 : CharacterData(document, data, CreateOther) 40 : CharacterData(document, data, CreateOther)
41 , m_target(target) 41 , m_target(target)
42 , m_loading(false) 42 , m_loading(false)
43 , m_alternate(false) 43 , m_alternate(false)
44 , m_createdByParser(false) 44 , m_createdByParser(false)
45 , m_isCSS(false) 45 , m_isCSS(false)
46 , m_isXSL(false) 46 , m_isXSL(false)
47 { 47 {
48 ScriptWrappable::init(this);
49 } 48 }
50 49
51 PassRefPtrWillBeRawPtr<ProcessingInstruction> ProcessingInstruction::create(Docu ment& document, const String& target, const String& data) 50 PassRefPtrWillBeRawPtr<ProcessingInstruction> ProcessingInstruction::create(Docu ment& document, const String& target, const String& data)
52 { 51 {
53 return adoptRefWillBeNoop(new ProcessingInstruction(document, target, data)) ; 52 return adoptRefWillBeNoop(new ProcessingInstruction(document, target, data)) ;
54 } 53 }
55 54
56 ProcessingInstruction::~ProcessingInstruction() 55 ProcessingInstruction::~ProcessingInstruction()
57 { 56 {
58 #if !ENABLE(OILPAN) 57 #if !ENABLE(OILPAN)
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 m_sheet.release()->clearOwnerNode(); 295 m_sheet.release()->clearOwnerNode();
297 } 296 }
298 297
299 void ProcessingInstruction::trace(Visitor* visitor) 298 void ProcessingInstruction::trace(Visitor* visitor)
300 { 299 {
301 visitor->trace(m_sheet); 300 visitor->trace(m_sheet);
302 CharacterData::trace(visitor); 301 CharacterData::trace(visitor);
303 } 302 }
304 303
305 } // namespace 304 } // namespace
OLDNEW
« no previous file with comments | « Source/core/dom/NodeList.h ('k') | Source/core/dom/Range.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698