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

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

Issue 1754863002: Remove unused createdByParser flags and arguments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Second try Created 4 years, 9 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) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed.
6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) 6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com)
7 * Copyright (C) 2011 Google Inc. All rights reserved. 7 * Copyright (C) 2011 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 if (!insertionPoint->inDocument()) 277 if (!insertionPoint->inDocument())
278 return InsertionDone; 278 return InsertionDone;
279 279
280 m_isInShadowTree = isInShadowTree(); 280 m_isInShadowTree = isInShadowTree();
281 if (m_isInShadowTree) { 281 if (m_isInShadowTree) {
282 String message = "HTML element <link> is ignored in shadow tree."; 282 String message = "HTML element <link> is ignored in shadow tree.";
283 document().addConsoleMessage(ConsoleMessage::create(JSMessageSource, War ningMessageLevel, message)); 283 document().addConsoleMessage(ConsoleMessage::create(JSMessageSource, War ningMessageLevel, message));
284 return InsertionDone; 284 return InsertionDone;
285 } 285 }
286 286
287 document().styleEngine().addStyleSheetCandidateNode(this, m_createdByParser) ; 287 document().styleEngine().addStyleSheetCandidateNode(this);
288 288
289 process(); 289 process();
290 290
291 if (m_link) 291 if (m_link)
292 m_link->ownerInserted(); 292 m_link->ownerInserted();
293 293
294 return InsertionDone; 294 return InsertionDone;
295 } 295 }
296 296
297 void HTMLLinkElement::removedFrom(ContainerNode* insertionPoint) 297 void HTMLLinkElement::removedFrom(ContainerNode* insertionPoint)
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 } 789 }
790 790
791 DEFINE_TRACE(LinkStyle) 791 DEFINE_TRACE(LinkStyle)
792 { 792 {
793 visitor->trace(m_sheet); 793 visitor->trace(m_sheet);
794 LinkResource::trace(visitor); 794 LinkResource::trace(visitor);
795 ResourceOwner<StyleSheetResource>::trace(visitor); 795 ResourceOwner<StyleSheetResource>::trace(visitor);
796 } 796 }
797 797
798 } // namespace blink 798 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698