OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |