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

Side by Side Diff: third_party/WebKit/Source/core/loader/ImageLoader.cpp

Issue 1362973004: Rename FROM_HERE to BLINK_FROM_HERE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 2 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 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010 Apple Inc. All rights reserv ed. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010 Apple Inc. All rights reserv ed.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 if (wasProtected == m_elementIsProtected) 564 if (wasProtected == m_elementIsProtected)
565 return; 565 return;
566 566
567 if (m_elementIsProtected) { 567 if (m_elementIsProtected) {
568 if (m_derefElementTimer.isActive()) 568 if (m_derefElementTimer.isActive())
569 m_derefElementTimer.stop(); 569 m_derefElementTimer.stop();
570 else 570 else
571 m_keepAlive = m_element; 571 m_keepAlive = m_element;
572 } else { 572 } else {
573 ASSERT(!m_derefElementTimer.isActive()); 573 ASSERT(!m_derefElementTimer.isActive());
574 m_derefElementTimer.startOneShot(0, FROM_HERE); 574 m_derefElementTimer.startOneShot(0, BLINK_FROM_HERE);
575 } 575 }
576 } 576 }
577 577
578 void ImageLoader::timerFired(Timer<ImageLoader>*) 578 void ImageLoader::timerFired(Timer<ImageLoader>*)
579 { 579 {
580 m_keepAlive.clear(); 580 m_keepAlive.clear();
581 } 581 }
582 582
583 void ImageLoader::dispatchPendingEvent(ImageEventSender* eventSender) 583 void ImageLoader::dispatchPendingEvent(ImageEventSender* eventSender)
584 { 584 {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 674
675 void ImageLoader::sourceImageChanged() 675 void ImageLoader::sourceImageChanged()
676 { 676 {
677 for (auto& client : m_clients) { 677 for (auto& client : m_clients) {
678 ImageLoaderClient* handle = client; 678 ImageLoaderClient* handle = client;
679 handle->notifyImageSourceChanged(); 679 handle->notifyImageSourceChanged();
680 } 680 }
681 } 681 }
682 682
683 } // namespace blink 683 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/core/loader/LinkLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698