| Index: third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp b/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp
|
| index b58780e4bc353bc49660a0c932a875426ef2e195..344b77e4a53cd98d18a26b5fcc5489cb954cc4aa 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp
|
| @@ -149,7 +149,7 @@ void InspectorResourceContentLoader::start()
|
| checkDone();
|
| }
|
|
|
| -void InspectorResourceContentLoader::ensureResourcesContentLoaded(PassOwnPtr<Closure> callback)
|
| +void InspectorResourceContentLoader::ensureResourcesContentLoaded(PassOwnPtr<SameThreadClosure> callback)
|
| {
|
| if (!m_started)
|
| start();
|
| @@ -204,7 +204,7 @@ void InspectorResourceContentLoader::checkDone()
|
| {
|
| if (!hasFinished())
|
| return;
|
| - Vector<OwnPtr<Closure>> callbacks;
|
| + Vector<OwnPtr<SameThreadClosure>> callbacks;
|
| callbacks.swap(m_callbacks);
|
| for (const auto& callback : callbacks)
|
| (*callback)();
|
|
|