Changeset 46718 in webkit


Ignore:
Timestamp:
Aug 3, 2009 9:12:38 AM (15 years ago)
Author:
ben@webkit.org
Message:

2009-07-31 Joe Mason <joe.mason@torchmobile.com>

Reviewed by George Staikos.

WINCE port: LOAD_WITH_ALTERED_SEARCH_PATH param of
LoadLibraryEx not supported on WINCE
https://bugs.webkit.org/show_bug.cgi?id=27917

  • plugins/win/PluginPackageWin.cpp: (WebCore::PluginPackage::load):use LoadLibrary instead of LoadLibraryEx
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r46713 r46718  
     12009-07-31  Joe Mason  <joe.mason@torchmobile.com>
     2
     3        Reviewed by George Staikos.
     4
     5        WINCE port: LOAD_WITH_ALTERED_SEARCH_PATH param of LoadLibraryEx not supported on WINCE
     6        https://bugs.webkit.org/show_bug.cgi?id=27917
     7
     8        * plugins/win/PluginPackageWin.cpp:
     9        (WebCore::PluginPackage::load): use LoadLibrary instead of LoadLibraryEx
     10
    1112009-08-02  Adam Barth  <abarth@webkit.org>
    212        Reviewed by Darin Adler.
  • trunk/WebCore/plugins/win/PluginPackageWin.cpp

    r46439 r46718  
    246246        return true;
    247247    } else {
    248 #if !PLATFORM(WINCE)
     248#if PLATFORM(WINCE)
     249        m_module = ::LoadLibraryW(m_path.charactersWithNullTermination());
     250#else
    249251        WCHAR currentPath[MAX_PATH];
    250252
     
    256258        if (!::SetCurrentDirectoryW(path.charactersWithNullTermination()))
    257259            return false;
    258 #endif
    259260
    260261        // Load the library
    261262        m_module = ::LoadLibraryExW(m_path.charactersWithNullTermination(), 0, LOAD_WITH_ALTERED_SEARCH_PATH);
    262263
    263 #if !PLATFORM(WINCE)
    264264        if (!::SetCurrentDirectoryW(currentPath)) {
    265265            if (m_module)
Note: See TracChangeset for help on using the changeset viewer.