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

Side by Side Diff: Source/core/html/HTMLObjectElement.cpp

Issue 280123002: Oilpan: move LiveNodeList collections to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have NodeRareData clear out NodeListsNodeData instead. Created 6 years, 7 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
« no previous file with comments | « Source/core/html/HTMLNameCollection.cpp ('k') | Source/core/html/HTMLOptionsCollection.h » ('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) 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 // ActiveX classid. Treat this classid as valid only if OS X Server's unique 235 // ActiveX classid. Treat this classid as valid only if OS X Server's unique
236 // 'generator' meta tag is present. Only apply this quirk if there is no 236 // 'generator' meta tag is present. Only apply this quirk if there is no
237 // fallback content, which ensures the quirk will disable itself if Wiki 237 // fallback content, which ensures the quirk will disable itself if Wiki
238 // Server is updated to generate an alternate embed tag as fallback content. 238 // Server is updated to generate an alternate embed tag as fallback content.
239 if (!document().settings() 239 if (!document().settings()
240 || !document().settings()->needsSiteSpecificQuirks() 240 || !document().settings()->needsSiteSpecificQuirks()
241 || hasFallbackContent() 241 || hasFallbackContent()
242 || !equalIgnoringCase(classId(), "clsid:02BF25D5-8C17-4B23-BC80-D3488ABD DC6B")) 242 || !equalIgnoringCase(classId(), "clsid:02BF25D5-8C17-4B23-BC80-D3488ABD DC6B"))
243 return false; 243 return false;
244 244
245 RefPtr<HTMLCollection> metaElements = document().getElementsByTagName(HTMLNa mes::metaTag.localName()); 245 RefPtrWillBeRawPtr<HTMLCollection> metaElements = document().getElementsByTa gName(HTMLNames::metaTag.localName());
246 unsigned length = metaElements->length(); 246 unsigned length = metaElements->length();
247 for (unsigned i = 0; i < length; ++i) { 247 for (unsigned i = 0; i < length; ++i) {
248 ASSERT(metaElements->item(i)->isHTMLElement()); 248 ASSERT(metaElements->item(i)->isHTMLElement());
249 HTMLMetaElement* metaElement = toHTMLMetaElement(metaElements->item(i)); 249 HTMLMetaElement* metaElement = toHTMLMetaElement(metaElements->item(i));
250 if (equalIgnoringCase(metaElement->name(), "generator") && metaElement-> content().startsWith("Mac OS X Server Web Services Server", false)) 250 if (equalIgnoringCase(metaElement->name(), "generator") && metaElement-> content().startsWith("Mac OS X Server Web Services Server", false))
251 return true; 251 return true;
252 } 252 }
253 253
254 return false; 254 return false;
255 } 255 }
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 { 492 {
493 return fastHasAttribute(usemapAttr); 493 return fastHasAttribute(usemapAttr);
494 } 494 }
495 495
496 bool HTMLObjectElement::useFallbackContent() const 496 bool HTMLObjectElement::useFallbackContent() const
497 { 497 {
498 return HTMLPlugInElement::useFallbackContent() || m_useFallbackContent; 498 return HTMLPlugInElement::useFallbackContent() || m_useFallbackContent;
499 } 499 }
500 500
501 } 501 }
OLDNEW
« no previous file with comments | « Source/core/html/HTMLNameCollection.cpp ('k') | Source/core/html/HTMLOptionsCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698