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

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

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) 7 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com)
8 * Copyright (C) 2011 Google Inc. All rights reserved. 8 * Copyright (C) 2011 Google Inc. All rights reserved.
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 if (m_link->hasLoaded()) 287 if (m_link->hasLoaded())
288 linkLoaded(); 288 linkLoaded();
289 else 289 else
290 linkLoadingErrored(); 290 linkLoadingErrored();
291 } 291 }
292 292
293 void HTMLLinkElement::scheduleEvent() { 293 void HTMLLinkElement::scheduleEvent() {
294 TaskRunnerHelper::get(TaskType::DOMManipulation, &document()) 294 TaskRunnerHelper::get(TaskType::DOMManipulation, &document())
295 ->postTask( 295 ->postTask(
296 BLINK_FROM_HERE, 296 BLINK_FROM_HERE,
297 WTF::bind(&HTMLLinkElement::dispatchPendingEvent, 297 WTF::bind(
298 wrapPersistent(this), 298 &HTMLLinkElement::dispatchPendingEvent, wrapPersistent(this),
299 passed(IncrementLoadEventDelayCount::create(document())))); 299 WTF::passed(IncrementLoadEventDelayCount::create(document()))));
300 } 300 }
301 301
302 void HTMLLinkElement::startLoadingDynamicSheet() { 302 void HTMLLinkElement::startLoadingDynamicSheet() {
303 DCHECK(linkStyle()); 303 DCHECK(linkStyle());
304 linkStyle()->startLoadingDynamicSheet(); 304 linkStyle()->startLoadingDynamicSheet();
305 } 305 }
306 306
307 bool HTMLLinkElement::isURLAttribute(const Attribute& attribute) const { 307 bool HTMLLinkElement::isURLAttribute(const Attribute& attribute) const {
308 return attribute.name().localName() == hrefAttr || 308 return attribute.name().localName() == hrefAttr ||
309 HTMLElement::isURLAttribute(attribute); 309 HTMLElement::isURLAttribute(attribute);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 LinkLoaderClient::trace(visitor); 360 LinkLoaderClient::trace(visitor);
361 DOMTokenListObserver::trace(visitor); 361 DOMTokenListObserver::trace(visitor);
362 } 362 }
363 363
364 DEFINE_TRACE_WRAPPERS(HTMLLinkElement) { 364 DEFINE_TRACE_WRAPPERS(HTMLLinkElement) {
365 visitor->traceWrappers(m_relList); 365 visitor->traceWrappers(m_relList);
366 HTMLElement::traceWrappers(visitor); 366 HTMLElement::traceWrappers(visitor);
367 } 367 }
368 368
369 } // namespace blink 369 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698