Index: Source/core/loader/WorkerLoaderClientBridge.cpp |
diff --git a/Source/core/loader/WorkerLoaderClientBridge.cpp b/Source/core/loader/WorkerLoaderClientBridge.cpp |
index 1eec55aedc585cbc0a898b8234b545a1031a4dcb..3b3b2475ae506ae41d7b1876e6b2f84d78e05780 100644 |
--- a/Source/core/loader/WorkerLoaderClientBridge.cpp |
+++ b/Source/core/loader/WorkerLoaderClientBridge.cpp |
@@ -75,7 +75,7 @@ void WorkerLoaderClientBridge::didReceiveResponse(unsigned long identifier, cons |
m_loaderProxy->postTaskToWorkerGlobalScope(createCrossThreadTask(&workerGlobalScopeDidReceiveResponse, m_workerClientWrapper, identifier, response, handle)); |
} |
-static void workerGlobalScopeDidReceiveData(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, PassOwnPtr<Vector<char> > vectorData) |
+static void workerGlobalScopeDidReceiveData(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, PassOwnPtr<Vector<char>> vectorData) |
{ |
ASSERT_UNUSED(context, context->isWorkerGlobalScope()); |
RELEASE_ASSERT(vectorData->size() <= std::numeric_limits<unsigned>::max()); |
@@ -84,7 +84,7 @@ static void workerGlobalScopeDidReceiveData(ExecutionContext* context, PassRefPt |
void WorkerLoaderClientBridge::didReceiveData(const char* data, unsigned dataLength) |
{ |
- OwnPtr<Vector<char> > vector = adoptPtr(new Vector<char>(dataLength)); // needs to be an OwnPtr for usage with createCrossThreadTask. |
+ OwnPtr<Vector<char>> vector = adoptPtr(new Vector<char>(dataLength)); // needs to be an OwnPtr for usage with createCrossThreadTask. |
memcpy(vector->data(), data, dataLength); |
m_loaderProxy->postTaskToWorkerGlobalScope(createCrossThreadTask(&workerGlobalScopeDidReceiveData, m_workerClientWrapper, vector.release())); |
} |
@@ -100,7 +100,7 @@ void WorkerLoaderClientBridge::didDownloadData(int dataLength) |
m_loaderProxy->postTaskToWorkerGlobalScope(createCrossThreadTask(&workerGlobalScopeDidDownloadData, m_workerClientWrapper, dataLength)); |
} |
-static void workerGlobalScopeDidReceiveCachedMetadata(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, PassOwnPtr<Vector<char> > vectorData) |
+static void workerGlobalScopeDidReceiveCachedMetadata(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, PassOwnPtr<Vector<char>> vectorData) |
{ |
ASSERT_UNUSED(context, context->isWorkerGlobalScope()); |
workerClientWrapper->didReceiveCachedMetadata(vectorData->data(), vectorData->size()); |
@@ -108,7 +108,7 @@ static void workerGlobalScopeDidReceiveCachedMetadata(ExecutionContext* context, |
void WorkerLoaderClientBridge::didReceiveCachedMetadata(const char* data, int dataLength) |
{ |
- OwnPtr<Vector<char> > vector = adoptPtr(new Vector<char>(dataLength)); // needs to be an OwnPtr for usage with createCrossThreadTask. |
+ OwnPtr<Vector<char>> vector = adoptPtr(new Vector<char>(dataLength)); // needs to be an OwnPtr for usage with createCrossThreadTask. |
memcpy(vector->data(), data, dataLength); |
m_loaderProxy->postTaskToWorkerGlobalScope(createCrossThreadTask(&workerGlobalScopeDidReceiveCachedMetadata, m_workerClientWrapper, vector.release())); |
} |