Ignore:
Timestamp:
Aug 21, 2015, 3:01:02 PM (10 years ago)
Author:
[email protected]
Message:

Stop using the old callOnMainThread variant on Windows
https://bugs.webkit.org/show_bug.cgi?id=148332

Reviewed by Tim Horton.

Source/WebCore:

  • platform/network/cf/CookieStorageCFNet.cpp:

(WebCore::notifyCookiesChanged):
(WebCore::notifyCookiesChangedOnMainThread): Deleted.

  • platform/network/win/NetworkStateNotifierWin.cpp:

(WebCore::NetworkStateNotifier::addrChangeCallback):

Source/WebKit/win:

  • Plugins/PluginMainThreadScheduler.cpp:

(WebCore::PluginMainThreadScheduler::scheduleCall):
(WebCore::PluginMainThreadScheduler::mainThreadCallback): Deleted.

  • Plugins/PluginMainThreadScheduler.h:
  • WebDatabaseManager.cpp:

(DidModifyOriginData::dispatchToMainThread):

  • WebIconDatabase.cpp:

(WebIconDatabase::scheduleNotificationDelivery):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/win/Plugins/PluginMainThreadScheduler.cpp

    r188594 r188787  
    5252
    5353    if (!m_callPending) {
    54         callOnMainThread(mainThreadCallback, this);
     54        callOnMainThread([this] {
     55            dispatchCalls();
     56        });
    5557        m_callPending = true;
    5658    }
     
    103105}
    104106
    105 void PluginMainThreadScheduler::mainThreadCallback(void* context)
    106 {
    107     static_cast<PluginMainThreadScheduler*>(context)->dispatchCalls();
    108 }
    109 
    110107} // namespace WebCore
Note: See TracChangeset for help on using the changeset viewer.