Index: Source/core/loader/ThreadableLoader.h |
diff --git a/Source/core/loader/ThreadableLoader.h b/Source/core/loader/ThreadableLoader.h |
index a1092d24400ebd012fedde269dfe04abdf26b829..f4c89ccd8e08646f51aa8a2a2abf64890882b75f 100644 |
--- a/Source/core/loader/ThreadableLoader.h |
+++ b/Source/core/loader/ThreadableLoader.h |
@@ -80,8 +80,18 @@ namespace WebCore { |
class ThreadableLoader { |
WTF_MAKE_NONCOPYABLE(ThreadableLoader); |
public: |
- static void loadResourceSynchronously(ExecutionContext*, const ResourceRequest&, ThreadableLoaderClient&, const ThreadableLoaderOptions&); |
- static PassRefPtr<ThreadableLoader> create(ExecutionContext*, ThreadableLoaderClient*, const ResourceRequest&, const ThreadableLoaderOptions&); |
+ static void loadResourceSynchronously(ExecutionContext&, const ResourceRequest&, ThreadableLoaderClient&, const ThreadableLoaderOptions&); |
+ static PassRefPtr<ThreadableLoader> create(ExecutionContext&, ThreadableLoaderClient*, const ResourceRequest&, const ThreadableLoaderOptions&); |
+ |
+ static void loadResourceSynchronously(ExecutionContext* context, const ResourceRequest& request, ThreadableLoaderClient& client, const ThreadableLoaderOptions& options) |
Inactive
2014/03/22 15:09:54
Do we really need to add these? Can't we simply fi
maheshkk
2014/03/24 18:17:48
We can fix other callers, I was trying to minimize
|
+ { |
+ ThreadableLoader::loadResourceSynchronously(*context, request, client, options); |
+ } |
+ |
+ static PassRefPtr<ThreadableLoader> create(ExecutionContext* context, ThreadableLoaderClient* client, const ResourceRequest& request, const ThreadableLoaderOptions& options) |
+ { |
+ return create(*context, client, request, options); |
+ } |
virtual void cancel() = 0; |
void ref() { refThreadableLoader(); } |