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

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

Issue 638503003: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/loader (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/core/loader/ImageLoader.h ('k') | Source/core/loader/LinkLoader.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 * 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 } 80 }
81 81
82 Task(ImageLoader* loader, UpdateFromElementBehavior updateBehavior) 82 Task(ImageLoader* loader, UpdateFromElementBehavior updateBehavior)
83 : m_loader(loader) 83 : m_loader(loader)
84 , m_shouldBypassMainWorldCSP(shouldBypassMainWorldCSP(loader)) 84 , m_shouldBypassMainWorldCSP(shouldBypassMainWorldCSP(loader))
85 , m_weakFactory(this) 85 , m_weakFactory(this)
86 , m_updateBehavior(updateBehavior) 86 , m_updateBehavior(updateBehavior)
87 { 87 {
88 } 88 }
89 89
90 virtual void run() OVERRIDE 90 virtual void run() override
91 { 91 {
92 if (m_loader) { 92 if (m_loader) {
93 m_loader->doUpdateFromElement(m_shouldBypassMainWorldCSP, m_updateBe havior); 93 m_loader->doUpdateFromElement(m_shouldBypassMainWorldCSP, m_updateBe havior);
94 } 94 }
95 } 95 }
96 96
97 void clearLoader() 97 void clearLoader()
98 { 98 {
99 m_loader = 0; 99 m_loader = 0;
100 } 100 }
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 } 571 }
572 572
573 #if ENABLE(OILPAN) 573 #if ENABLE(OILPAN)
574 ImageLoader::ImageLoaderClientRemover::~ImageLoaderClientRemover() 574 ImageLoader::ImageLoaderClientRemover::~ImageLoaderClientRemover()
575 { 575 {
576 m_loader.willRemoveClient(m_client); 576 m_loader.willRemoveClient(m_client);
577 } 577 }
578 #endif 578 #endif
579 579
580 } 580 }
OLDNEW
« no previous file with comments | « Source/core/loader/ImageLoader.h ('k') | Source/core/loader/LinkLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698