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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLOutputElement.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 Google Inc. All rights reserved. 2 * Copyright (c) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 { 43 {
44 } 44 }
45 45
46 HTMLOutputElement::~HTMLOutputElement() 46 HTMLOutputElement::~HTMLOutputElement()
47 { 47 {
48 #if !ENABLE(OILPAN) 48 #if !ENABLE(OILPAN)
49 m_tokens->setObserver(nullptr); 49 m_tokens->setObserver(nullptr);
50 #endif 50 #endif
51 } 51 }
52 52
53 PassRefPtrWillBeRawPtr<HTMLOutputElement> HTMLOutputElement::create(Document& do cument, HTMLFormElement* form) 53 RawPtr<HTMLOutputElement> HTMLOutputElement::create(Document& document, HTMLForm Element* form)
54 { 54 {
55 return adoptRefWillBeNoop(new HTMLOutputElement(document, form)); 55 return new HTMLOutputElement(document, form);
56 } 56 }
57 57
58 const AtomicString& HTMLOutputElement::formControlType() const 58 const AtomicString& HTMLOutputElement::formControlType() const
59 { 59 {
60 DEFINE_STATIC_LOCAL(const AtomicString, output, ("output", AtomicString::Con structFromLiteral)); 60 DEFINE_STATIC_LOCAL(const AtomicString, output, ("output", AtomicString::Con structFromLiteral));
61 return output; 61 return output;
62 } 62 }
63 63
64 bool HTMLOutputElement::isDisabledFormControl() const 64 bool HTMLOutputElement::isDisabledFormControl() const
65 { 65 {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 146
147 DEFINE_TRACE(HTMLOutputElement) 147 DEFINE_TRACE(HTMLOutputElement)
148 { 148 {
149 visitor->trace(m_tokens); 149 visitor->trace(m_tokens);
150 HTMLFormControlElement::trace(visitor); 150 HTMLFormControlElement::trace(visitor);
151 DOMTokenListObserver::trace(visitor); 151 DOMTokenListObserver::trace(visitor);
152 } 152 }
153 153
154 } // namespace blink 154 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLOutputElement.h ('k') | third_party/WebKit/Source/core/html/HTMLOutputElementTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698