Changeset 62696 in webkit
- Timestamp:
- Jul 7, 2010 1:55:37 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r62689 r62696 1 2010-07-07 Darin Adler <darin@apple.com> 2 3 Reviewed by Adam Barth. 4 5 Turn on adoptRef assertion for RefCounted 6 https://bugs.webkit.org/show_bug.cgi?id=41547 7 8 * wtf/CrossThreadRefCounted.h: Fixed include style. Includes of other 9 WTF headers should use "" includes; consistent in most WTF headers. 10 Added a call to relaxAdoptionRequirement. 11 12 * wtf/RefCounted.h: Fixed include style. Removed LOOSE_REF_COUNTED. 13 Added relaxAdoptionRequirement. 14 1 15 2010-07-07 Anders Carlsson <andersca@apple.com> 2 16 -
trunk/JavaScriptCore/wtf/CrossThreadRefCounted.h
r49160 r62696 1 1 /* 2 2 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Apple Inc. All rights reserved. 3 4 * 4 5 * Redistribution and use in source and binary forms, with or without … … 32 33 #define CrossThreadRefCounted_h 33 34 34 #include <wtf/Noncopyable.h> 35 #include <wtf/PassRefPtr.h> 36 #include <wtf/RefCounted.h> 37 #include <wtf/Threading.h> 35 #include "PassRefPtr.h" 36 #include "RefCounted.h" 37 #include "Threading.h" 38 38 39 39 namespace WTF { … … 79 79 #endif 80 80 { 81 // We use RefCountedBase in an unusual way here, so get rid of the requirement 82 // that adoptRef be called on it. 83 m_refCounter.relaxAdoptionRequirement(); 81 84 } 82 85 -
trunk/JavaScriptCore/wtf/RefCounted.h
r62213 r62696 22 22 #define RefCounted_h 23 23 24 #include <wtf/Assertions.h> 25 #include <wtf/Noncopyable.h> 26 27 // Remove this once we make all WebKit code compatible with stricter rules about RefCounted. 28 #define LOOSE_REF_COUNTED 24 #include "Assertions.h" 25 #include "Noncopyable.h" 29 26 30 27 namespace WTF { … … 38 35 { 39 36 ASSERT(!m_deletionHasBegun); 40 #ifndef LOOSE_REF_COUNTED41 37 ASSERT(!m_adoptionIsRequired); 42 #endif43 38 ++m_refCount; 44 39 } … … 55 50 } 56 51 52 void relaxAdoptionRequirement() 53 { 54 #ifndef NDEBUG 55 ASSERT(!m_deletionHasBegun); 56 ASSERT(m_adoptionIsRequired); 57 m_adoptionIsRequired = false; 58 #endif 59 } 60 57 61 protected: 58 62 RefCountedBase() … … 67 71 ~RefCountedBase() 68 72 { 69 #ifndef LOOSE_REF_COUNTED70 73 ASSERT(m_deletionHasBegun); 71 74 ASSERT(!m_adoptionIsRequired); 72 #endif73 75 } 74 76 … … 77 79 { 78 80 ASSERT(!m_deletionHasBegun); 79 #ifndef LOOSE_REF_COUNTED80 81 ASSERT(!m_adoptionIsRequired); 81 #endif82 82 83 83 ASSERT(m_refCount > 0); -
trunk/WebCore/ChangeLog
r62694 r62696 1 2010-07-07 Darin Adler <darin@apple.com> 2 3 Reviewed by Adam Barth. 4 5 Turn on adoptRef assertion for RefCounted 6 https://bugs.webkit.org/show_bug.cgi?id=41547 7 8 The WebCore part of this fixes all the assertions I saw in testing. 9 10 * html/FileReader.cpp: 11 (WebCore::FileReader::readAsBinaryString): Added null checks. 12 Callers from JavaScript can pass the wrong type, which becomes null. 13 (WebCore::FileReader::readAsText): Ditto. 14 (WebCore::FileReader::readAsDataURL): Ditto. 15 16 * html/FileStreamClient.h: Removed unneeded include. 17 18 * html/FileStreamProxy.cpp: 19 (WebCore::FileStreamProxy::FileStreamProxy): Made inline and moved 20 some of the code, including the ref, into the create function. 21 (WebCore::FileStreamProxy::create): Moved some of the code from 22 the constructor here. It's safe to ref once the object has been 23 created and adopted. 24 25 * html/FileStreamProxy.h: Changed create function to no longer be 26 inlined. Also removed an unneeded include. 27 28 * page/EventSource.cpp: 29 (WebCore::EventSource::EventSource): Made inline, changed arguments 30 and moved code that involves the need to ref this object into the 31 create function. Also moved failure handling out there since it's 32 cleaner to have a function that fails than a constructor. For 33 example, the function can return 0. 34 (WebCore::EventSource::create): Moved some of the code from the 35 constructor here. 36 37 * page/EventSource.h: Removed unneeded includes. Made the 38 creation function non-inline. Changed the arguments to the constructor. 39 40 * storage/StorageAreaSync.cpp: 41 (WebCore::StorageAreaSync::StorageAreaSync): Made inline. Moved 42 code that requires ref'ing this object out to the create function. 43 (WebCore::StorageAreaSync::create): Moved some of the code from the 44 constructor here. 45 46 * storage/StorageAreaSync.h: Removed unneeded includes. Changed 47 the type of one of the constructor arguments from String to 48 const String&. 49 50 * workers/SharedWorker.cpp: 51 (WebCore::SharedWorker::SharedWorker): Made inline. Moved most of 52 the setup code out of here into the create function. 53 (WebCore::SharedWorker::create): Moved the code here. 54 55 * workers/SharedWorker.h: Removed unneeded includes. Made the 56 create function non-inline. Marked the toSharedWorker override private 57 to catch people doing an unnecessary virtual function call if they 58 already have a SharedWorker*. 59 60 * workers/Worker.cpp: 61 (WebCore::Worker::Worker): Made inline. Moved most of the setup code 62 out of here into the create function. 63 (WebCore::Worker::create): Moved the code here. 64 65 * workers/Worker.h: Made the create function non-inline. Changed 66 the arguments to the constructor. 67 1 68 2010-07-07 Chris Fleizach <cfleizach@apple.com> 2 69 -
trunk/WebCore/html/FileReader.cpp
r60799 r62696 86 86 void FileReader::readAsBinaryString(Blob* fileBlob) 87 87 { 88 if (!fileBlob) 89 return; 90 88 91 // FIXME: needs to handle non-file blobs. 89 92 LOG(FileAPI, "FileReader: reading as binary: %s\n", fileBlob->path().utf8().data()); … … 94 97 void FileReader::readAsText(Blob* fileBlob, const String& encoding) 95 98 { 99 if (!fileBlob) 100 return; 101 96 102 // FIXME: needs to handle non-file blobs. 97 103 LOG(FileAPI, "FileReader: reading as text: %s\n", fileBlob->path().utf8().data()); … … 104 110 void FileReader::readAsDataURL(File* file) 105 111 { 112 if (!file) 113 return; 114 106 115 LOG(FileAPI, "FileReader: reading as data URL: %s\n", file->path().utf8().data()); 107 116 -
trunk/WebCore/html/FileStreamClient.h
r57749 r62696 35 35 36 36 #include "ExceptionCode.h" 37 #include <wtf/PassRefPtr.h>38 37 39 38 namespace WebCore { -
trunk/WebCore/html/FileStreamProxy.cpp
r59849 r62696 45 45 namespace WebCore { 46 46 47 FileStreamProxy::FileStreamProxy(ScriptExecutionContext* context, FileStreamClient* client)47 inline FileStreamProxy::FileStreamProxy(ScriptExecutionContext* context, FileStreamClient* client) 48 48 : m_context(context) 49 49 , m_client(client) 50 50 , m_stream(FileStream::create(this)) 51 51 { 52 // Holds an extra ref so that the instance will not get deleted while there can be any tasks on the file thread. 53 ref(); 54 55 fileThread()->postTask(createFileThreadTask(m_stream.get(), &FileStream::start)); 52 } 53 54 PassRefPtr<FileStreamProxy> FileStreamProxy::create(ScriptExecutionContext* context, FileStreamClient* client) 55 { 56 RefPtr<FileStreamProxy> proxy = adoptRef(new FileStreamProxy(context, client)); 57 58 // Hold an ref so that the instance will not get deleted while there are tasks on the file thread. 59 // This is balanced by the deref in derefProxyOnContext below. 60 proxy->ref(); 61 62 proxy->fileThread()->postTask(createFileThreadTask(proxy->m_stream.get(), &FileStream::start)); 63 64 return proxy.release(); 56 65 } 57 66 -
trunk/WebCore/html/FileStreamProxy.h
r57749 r62696 1 1 /* 2 2 * Copyright (C) 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Apple Inc. All rights reserved. 3 4 * 4 5 * Redistribution and use in source and binary forms, with or without … … 34 35 #if ENABLE(FILE_READER) || ENABLE(FILE_WRITER) 35 36 36 #include "ExceptionCode.h"37 37 #include "FileStreamClient.h" 38 38 #include <wtf/PassRefPtr.h> … … 51 51 class FileStreamProxy : public RefCounted<FileStreamProxy>, public FileStreamClient { 52 52 public: 53 static PassRefPtr<FileStreamProxy> create(ScriptExecutionContext* context, FileStreamClient* client) 54 { 55 return adoptRef(new FileStreamProxy(context, client)); 56 } 53 static PassRefPtr<FileStreamProxy> create(ScriptExecutionContext*, FileStreamClient*); 57 54 virtual ~FileStreamProxy(); 58 55 -
trunk/WebCore/page/EventSource.cpp
r56035 r62696 2 2 * Copyright (C) 2009 Ericsson AB 3 3 * All rights reserved. 4 * Copyright (C) 2010 Apple Inc. All rights reserved. 4 5 * 5 6 * Redistribution and use in source and binary forms, with or without … … 54 55 const unsigned long long EventSource::defaultReconnectDelay = 3000; 55 56 56 EventSource::EventSource(const String& url, ScriptExecutionContext* context, ExceptionCode& ec)57 inline EventSource::EventSource(const KURL& url, ScriptExecutionContext* context) 57 58 : ActiveDOMObject(context, this) 59 , m_url(url) 58 60 , m_state(CONNECTING) 61 , m_decoder(TextResourceDecoder::create("text/plain", "UTF-8")) 59 62 , m_reconnectTimer(this, &EventSource::reconnectTimerFired) 60 63 , m_discardTrailingNewline(false) … … 62 65 , m_requestInFlight(false) 63 66 , m_reconnectDelay(defaultReconnectDelay) 64 { 65 if (url.isEmpty() || !(m_url = context->completeURL(url)).isValid()) { 67 , m_origin(context->securityOrigin()->toString()) 68 { 69 } 70 71 PassRefPtr<EventSource> EventSource::create(const String& url, ScriptExecutionContext* context, ExceptionCode& ec) 72 { 73 if (url.isEmpty()) { 66 74 ec = SYNTAX_ERR; 67 return; 68 } 69 // FIXME: should support cross-origin requests 70 if (!scriptExecutionContext()->securityOrigin()->canRequest(m_url)) { 75 return 0; 76 } 77 78 KURL fullURL = context->completeURL(url); 79 if (!fullURL.isValid()) { 80 ec = SYNTAX_ERR; 81 return 0; 82 } 83 84 // FIXME: Should support at least some cross-origin requests. 85 if (!context->securityOrigin()->canRequest(fullURL)) { 71 86 ec = SECURITY_ERR; 72 return; 73 } 74 75 m_origin = scriptExecutionContext()->securityOrigin()->toString(); 76 m_decoder = TextResourceDecoder::create("text/plain", "UTF-8"); 77 78 setPendingActivity(this); 79 connect(); 87 return 0; 88 } 89 90 RefPtr<EventSource> source = adoptRef(new EventSource(fullURL, context)); 91 92 source->setPendingActivity(source.get()); 93 source->connect(); 94 95 return source.release(); 80 96 } 81 97 -
trunk/WebCore/page/EventSource.h
r52891 r62696 2 2 * Copyright (C) 2009 Ericsson AB 3 3 * All rights reserved. 4 * Copyright (C) 2010 Apple Inc. All rights reserved. 4 5 * 5 6 * Redistribution and use in source and binary forms, with or without … … 36 37 37 38 #include "ActiveDOMObject.h" 38 #include "AtomicStringHash.h"39 #include "EventNames.h"40 39 #include "EventTarget.h" 41 40 #include "KURL.h" 42 41 #include "ThreadableLoaderClient.h" 43 42 #include "Timer.h" 44 45 #include <wtf/HashMap.h>46 #include <wtf/PassRefPtr.h>47 43 #include <wtf/RefPtr.h> 48 44 #include <wtf/Vector.h> … … 57 53 class EventSource : public RefCounted<EventSource>, public EventTarget, private ThreadableLoaderClient, public ActiveDOMObject { 58 54 public: 59 static PassRefPtr<EventSource> create(const String& url, ScriptExecutionContext* context, ExceptionCode& ec) { return adoptRef(new EventSource(url, context, ec)); }55 static PassRefPtr<EventSource> create(const String& url, ScriptExecutionContext*, ExceptionCode&); 60 56 virtual ~EventSource(); 61 57 … … 87 83 88 84 private: 89 EventSource(const String& url, ScriptExecutionContext* context, ExceptionCode& ec);85 EventSource(const KURL&, ScriptExecutionContext*); 90 86 91 87 virtual void refEventTarget() { ref(); } … … 94 90 virtual EventTargetData* ensureEventTargetData(); 95 91 96 virtual void didReceiveResponse(const ResourceResponse& response);92 virtual void didReceiveResponse(const ResourceResponse&); 97 93 virtual void didReceiveData(const char* data, int length); 98 94 virtual void didFinishLoading(unsigned long); 99 virtual void didFail(const ResourceError& error);95 virtual void didFail(const ResourceError&); 100 96 virtual void didFailRedirectCheck(); 101 97 -
trunk/WebCore/storage/StorageAreaSync.cpp
r61542 r62696 1 1 /* 2 * Copyright (C) 2008, 2009 Apple Inc. All Rights Reserved.2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All Rights Reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 50 50 static const int MaxiumItemsToSync = 100; 51 51 52 PassRefPtr<StorageAreaSync> StorageAreaSync::create(PassRefPtr<StorageSyncManager> storageSyncManager, PassRefPtr<StorageAreaImpl> storageArea, String databaseIdentifier) 53 { 54 return adoptRef(new StorageAreaSync(storageSyncManager, storageArea, databaseIdentifier)); 55 } 56 57 StorageAreaSync::StorageAreaSync(PassRefPtr<StorageSyncManager> storageSyncManager, PassRefPtr<StorageAreaImpl> storageArea, String databaseIdentifier) 52 inline StorageAreaSync::StorageAreaSync(PassRefPtr<StorageSyncManager> storageSyncManager, PassRefPtr<StorageAreaImpl> storageArea, const String& databaseIdentifier) 58 53 : m_syncTimer(this, &StorageAreaSync::syncTimerFired) 59 54 , m_itemsCleared(false) … … 71 66 ASSERT(m_storageArea); 72 67 ASSERT(m_syncManager); 68 } 69 70 PassRefPtr<StorageAreaSync> StorageAreaSync::create(PassRefPtr<StorageSyncManager> storageSyncManager, PassRefPtr<StorageAreaImpl> storageArea, const String& databaseIdentifier) 71 { 72 RefPtr<StorageAreaSync> area = adoptRef(new StorageAreaSync(storageSyncManager, storageArea, databaseIdentifier)); 73 73 74 74 // FIXME: If it can't import, then the default WebKit behavior should be that of private browsing, 75 // not silently ignoring it. https://bugs.webkit.org/show_bug.cgi?id=25894 76 if (!m_syncManager->scheduleImport(this)) 77 m_importComplete = true; 75 // not silently ignoring it. https://bugs.webkit.org/show_bug.cgi?id=25894 76 if (!area->m_syncManager->scheduleImport(area.get())) 77 area->m_importComplete = true; 78 79 return area.release(); 78 80 } 79 81 -
trunk/WebCore/storage/StorageAreaSync.h
r61542 r62696 1 1 /* 2 * Copyright (C) 2008, 2009 Apple Inc. All Rights Reserved.2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All Rights Reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 29 29 #if ENABLE(DOM_STORAGE) 30 30 31 #include "PlatformString.h"32 31 #include "SQLiteDatabase.h" 33 32 #include "StringHash.h" … … 43 42 class StorageAreaSync : public RefCounted<StorageAreaSync> { 44 43 public: 45 static PassRefPtr<StorageAreaSync> create(PassRefPtr<StorageSyncManager> storageSyncManager, PassRefPtr<StorageAreaImpl> storageArea, StringdatabaseIdentifier);44 static PassRefPtr<StorageAreaSync> create(PassRefPtr<StorageSyncManager>, PassRefPtr<StorageAreaImpl>, const String& databaseIdentifier); 46 45 ~StorageAreaSync(); 47 46 … … 53 52 54 53 private: 55 StorageAreaSync(PassRefPtr<StorageSyncManager> storageSyncManager, PassRefPtr<StorageAreaImpl> storageArea, StringdatabaseIdentifier);54 StorageAreaSync(PassRefPtr<StorageSyncManager>, PassRefPtr<StorageAreaImpl>, const String& databaseIdentifier); 56 55 57 56 void dispatchStorageEvent(const String& key, const String& oldValue, const String& newValue, Frame* sourceFrame); -
trunk/WebCore/workers/SharedWorker.cpp
r56404 r62696 1 1 /* 2 2 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Apple Inc. All rights reserved. 3 4 * 4 5 * Redistribution and use in source and binary forms, with or without … … 43 44 namespace WebCore { 44 45 45 SharedWorker::SharedWorker(const String& url, const String& name, ScriptExecutionContext* context, ExceptionCode& ec)46 inline SharedWorker::SharedWorker(ScriptExecutionContext* context) 46 47 : AbstractWorker(context) 47 48 { 48 RefPtr<MessageChannel> channel = MessageChannel::create(scriptExecutionContext()); 49 m_port = channel->port1(); 49 } 50 51 PassRefPtr<SharedWorker> SharedWorker::create(const String& url, const String& name, ScriptExecutionContext* context, ExceptionCode& ec) 52 { 53 RefPtr<SharedWorker> worker = adoptRef(new SharedWorker(context)); 54 55 RefPtr<MessageChannel> channel = MessageChannel::create(context); 56 worker->m_port = channel->port1(); 50 57 OwnPtr<MessagePortChannel> remotePort = channel->port2()->disentangle(ec); 51 ASSERT( !ec);58 ASSERT(remotePort); 52 59 53 KURL scriptUrl = resolveURL(url, ec); 54 if (ec) 55 return; 56 SharedWorkerRepository::connect(this, remotePort.release(), scriptUrl, name, ec); 60 KURL scriptURL = worker->resolveURL(url, ec); 61 if (scriptURL.isEmpty()) 62 return 0; 63 64 SharedWorkerRepository::connect(worker.get(), remotePort.release(), scriptURL, name, ec); 65 57 66 #if ENABLE(INSPECTOR) 58 if (InspectorController* inspector = scriptExecutionContext()->inspectorController())59 inspector->didCreateWorker( asID(), scriptUrl.string(), true);67 if (InspectorController* inspector = context->inspectorController()) 68 inspector->didCreateWorker(worker->asID(), scriptURL.string(), true); 60 69 #endif 70 71 return worker.release(); 61 72 } 62 73 -
trunk/WebCore/workers/SharedWorker.h
r46845 r62696 1 1 /* 2 2 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Apple Inc. All rights reserved. 3 4 * 4 5 * Redistribution and use in source and binary forms, with or without … … 34 35 #include "AbstractWorker.h" 35 36 36 #include <wtf/PassRefPtr.h>37 #include <wtf/RefPtr.h>38 39 37 #if ENABLE(SHARED_WORKERS) 40 38 … … 43 41 class SharedWorker : public AbstractWorker { 44 42 public: 45 static PassRefPtr<SharedWorker> create(const String& url, const String& name, ScriptExecutionContext* context, ExceptionCode& ec) 46 { 47 return adoptRef(new SharedWorker(url, name, context, ec)); 48 } 49 ~SharedWorker(); 43 static PassRefPtr<SharedWorker> create(const String& url, const String& name, ScriptExecutionContext*, ExceptionCode&); 44 virtual ~SharedWorker(); 45 50 46 MessagePort* port() const { return m_port.get(); } 51 47 48 private: 49 SharedWorker(ScriptExecutionContext*); 50 52 51 virtual SharedWorker* toSharedWorker() { return this; } 53 54 private:55 SharedWorker(const String& url, const String& name, ScriptExecutionContext*, ExceptionCode&);56 52 57 53 RefPtr<MessagePort> m_port; -
trunk/WebCore/workers/Worker.cpp
r58647 r62696 1 1 /* 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.2 * Copyright (C) 2008, 2010 Apple Inc. All Rights Reserved. 3 3 * Copyright (C) 2009 Google Inc. All Rights Reserved. 4 4 * … … 51 51 namespace WebCore { 52 52 53 Worker::Worker(const String& url, ScriptExecutionContext* context, ExceptionCode& ec)53 inline Worker::Worker(ScriptExecutionContext* context) 54 54 : AbstractWorker(context) 55 55 , m_contextProxy(WorkerContextProxy::create(this)) 56 56 { 57 KURL scriptURL = resolveURL(url, ec); 58 if (ec) 59 return; 57 } 60 58 61 m_scriptLoader = new WorkerScriptLoader(ResourceRequestBase::TargetIsWorker); 62 m_scriptLoader->loadAsynchronously(scriptExecutionContext(), scriptURL, DenyCrossOriginRequests, this); 63 setPendingActivity(this); // The worker context does not exist while loading, so we must ensure that the worker object is not collected, as well as its event listeners. 59 PassRefPtr<Worker> Worker::create(const String& url, ScriptExecutionContext* context, ExceptionCode& ec) 60 { 61 RefPtr<Worker> worker = adoptRef(new Worker(context)); 62 63 KURL scriptURL = worker->resolveURL(url, ec); 64 if (scriptURL.isEmpty()) 65 return 0; 66 67 worker->m_scriptLoader = adoptPtr(new WorkerScriptLoader(ResourceRequestBase::TargetIsWorker)); 68 worker->m_scriptLoader->loadAsynchronously(context, scriptURL, DenyCrossOriginRequests, worker.get()); 69 70 // The worker context does not exist while loading, so we must ensure that the worker object is not collected, nor are its event listeners. 71 worker->setPendingActivity(worker.get()); 72 64 73 #if ENABLE(INSPECTOR) 65 if (InspectorController* inspector = scriptExecutionContext()->inspectorController())66 inspector->didCreateWorker( asID(), scriptURL.string(), false);74 if (InspectorController* inspector = context->inspectorController()) 75 inspector->didCreateWorker(worker->asID(), scriptURL.string(), false); 67 76 #endif 77 78 return worker.release(); 68 79 } 69 80 -
trunk/WebCore/workers/Worker.h
r49734 r62696 1 1 /* 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.2 * Copyright (C) 2008, 2010 Apple Inc. All Rights Reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 54 54 class Worker : public AbstractWorker, private WorkerScriptLoaderClient { 55 55 public: 56 static PassRefPtr<Worker> create(const String& url, ScriptExecutionContext* context, ExceptionCode& ec) { return adoptRef(new Worker(url, context, ec)); }57 ~Worker();56 static PassRefPtr<Worker> create(const String& url, ScriptExecutionContext*, ExceptionCode&); 57 virtual ~Worker(); 58 58 59 59 virtual Worker* toWorker() { return this; } 60 60 61 void postMessage(PassRefPtr<SerializedScriptValue> , ExceptionCode&);62 void postMessage(PassRefPtr<SerializedScriptValue> , const MessagePortArray*, ExceptionCode&);61 void postMessage(PassRefPtr<SerializedScriptValue> message, ExceptionCode&); 62 void postMessage(PassRefPtr<SerializedScriptValue> message, const MessagePortArray*, ExceptionCode&); 63 63 // FIXME: remove this when we update the ObjC bindings (bug #28774). 64 64 void postMessage(PassRefPtr<SerializedScriptValue> message, MessagePort*, ExceptionCode&); … … 73 73 74 74 private: 75 Worker( const String&, ScriptExecutionContext*, ExceptionCode&);75 Worker(ScriptExecutionContext*); 76 76 77 77 virtual void notifyFinished();
Note: See TracChangeset
for help on using the changeset viewer.