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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLObjectElement.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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved.
6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 associateByParser(form); 54 associateByParser(form);
55 } 55 }
56 56
57 inline HTMLObjectElement::~HTMLObjectElement() 57 inline HTMLObjectElement::~HTMLObjectElement()
58 { 58 {
59 #if !ENABLE(OILPAN) 59 #if !ENABLE(OILPAN)
60 setForm(0); 60 setForm(0);
61 #endif 61 #endif
62 } 62 }
63 63
64 PassRefPtrWillBeRawPtr<HTMLObjectElement> HTMLObjectElement::create(Document& do cument, HTMLFormElement* form, bool createdByParser) 64 RawPtr<HTMLObjectElement> HTMLObjectElement::create(Document& document, HTMLForm Element* form, bool createdByParser)
65 { 65 {
66 RefPtrWillBeRawPtr<HTMLObjectElement> element = adoptRefWillBeNoop(new HTMLO bjectElement(document, form, createdByParser)); 66 RawPtr<HTMLObjectElement> element = new HTMLObjectElement(document, form, cr eatedByParser);
67 element->ensureUserAgentShadowRoot(); 67 element->ensureUserAgentShadowRoot();
68 return element.release(); 68 return element.release();
69 } 69 }
70 70
71 DEFINE_TRACE(HTMLObjectElement) 71 DEFINE_TRACE(HTMLObjectElement)
72 { 72 {
73 FormAssociatedElement::trace(visitor); 73 FormAssociatedElement::trace(visitor);
74 HTMLPlugInElement::trace(visitor); 74 HTMLPlugInElement::trace(visitor);
75 } 75 }
76 76
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 { 443 {
444 return fastHasAttribute(usemapAttr); 444 return fastHasAttribute(usemapAttr);
445 } 445 }
446 446
447 bool HTMLObjectElement::useFallbackContent() const 447 bool HTMLObjectElement::useFallbackContent() const
448 { 448 {
449 return HTMLPlugInElement::useFallbackContent() || m_useFallbackContent; 449 return HTMLPlugInElement::useFallbackContent() || m_useFallbackContent;
450 } 450 }
451 451
452 } // namespace blink 452 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLObjectElement.h ('k') | third_party/WebKit/Source/core/html/HTMLOptGroupElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698