Changeset 47248 in webkit


Ignore:
Timestamp:
Aug 13, 2009 3:55:51 PM (15 years ago)
Author:
eric@webkit.org
Message:

2009-08-13 Drew Wilson <atwilson@google.com>

Reviewed by David Levin.

Merge error in SharedWorker code
https://bugs.webkit.org/show_bug.cgi?id=28277

Fixed merge error that prevents WebKit from compiling with SHARED_WORKERS enabled.
No new tests needed.

  • workers/DefaultSharedWorkerRepository.cpp: Removed duplicated functions.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r47247 r47248  
     12009-08-13  Drew Wilson  <atwilson@google.com>
     2
     3        Reviewed by David Levin.
     4
     5        Merge error in SharedWorker code
     6        https://bugs.webkit.org/show_bug.cgi?id=28277
     7
     8        Fixed merge error that prevents WebKit from compiling with SHARED_WORKERS enabled.
     9        No new tests needed.
     10
     11        * workers/DefaultSharedWorkerRepository.cpp:
     12        Removed duplicated functions.
     13
    1142009-08-13  Kyle Prete  <kylep@chromium.org>
    215
  • trunk/WebCore/workers/DefaultSharedWorkerRepository.cpp

    r47078 r47248  
    126126void SharedWorkerProxy::workerContextDestroyed()
    127127{
    128     // FIXME: Remove the proxy from the repository once the worker context is destroyed.
    129     notImplemented();
     128    // The proxy may be freed by this call, so do not reference it any further.
     129    DefaultSharedWorkerRepository::instance().removeProxy(this);
    130130}
    131131
     
    156156    if (m_thread)
    157157        m_thread->stop();
    158 }
    159 
    160 void SharedWorkerProxy::postExceptionToWorkerObject(const String&, int, const String&)
    161 {
    162     // FIXME: Log exceptions to all parent documents.
    163     notImplemented();
    164 }
    165 
    166 void SharedWorkerProxy::postConsoleMessageToWorkerObject(MessageDestination, MessageSource, MessageType, MessageLevel, const String&, int, const String&)
    167 {
    168     // FIXME: Log console messages to all parent documents.
    169     notImplemented();
    170 }
    171 
    172 // When close() is invoked, mark the proxy as closing so we don't share it with any new requests.
    173 void SharedWorkerProxy::workerContextClosed()
    174 {
    175     m_closing = true;
    176 }
    177 
    178 void SharedWorkerProxy::workerContextDestroyed()
    179 {
    180     // The proxy may be freed by this call, so do not reference it any further.
    181     DefaultSharedWorkerRepository::instance().removeProxy(this);
    182158}
    183159
Note: See TracChangeset for help on using the changeset viewer.