Changeset 81991 in webkit


Ignore:
Timestamp:
Mar 25, 2011 2:21:17 PM (13 years ago)
Author:
Stephanie Lewis
Message:

Fix the GTK+ build until we can implement the new cross-platform
FontPlatformData.h bits.

Patch by Martin Robinson <mrobinson@igalia.com> on 2011-03-25

  • platform/graphics/FontPlatformData.h: Include the proper old font headers.

(WebCore::FontPlatformData::FontPlatformData): Eliminate GTK+ specific bits of this file
which reference our obsolete font implementation.
(WebCore::FontPlatformData::hash): Ditto.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r81990 r81991  
    616616        * rendering/RenderTreeAsText.cpp:
    617617        (WebCore::quoteAndEscapeNonPrintables):
     618
     6192011-03-24  Stephanie Lewis  <slewis@apple.com>
     620
     621        Reviewed by Geoff Garen.
     622
     623        <rdar://problem/9146716> REGRESSION: ~10 MB increase in memory under CachedScripts
     624        Add back a call to destroy decoded data after access.  Keep the SourceProviderCache
     625        around as long as their are still clients to use it.
     626
     627        No new tests because there is no change in behavior.  Current tests pass.
     628
     629        * loader/cache/CachedScript.cpp:
     630        (WebCore::CachedScript::script):
     631        (WebCore::CachedScript::destroyDecodedData):
    618632
    6196332011-03-24  Stephanie Lewis  <slewis@apple.com>
  • trunk/Source/WebCore/loader/cache/CachedScript.cpp

    r78297 r81991  
    8989        setDecodedSize(m_script.length() * sizeof(UChar));
    9090    }
     91    m_decodedDataDeletionTimer.startOneShot(0);
     92   
    9193    return m_script;
    9294}
     
    126128    unsigned extraSize = 0;
    127129#if USE(JSC)
    128     if (m_sourceProviderCache)
     130    if (m_sourceProviderCache && m_clients.isEmpty())
    129131        m_sourceProviderCache->clear();
    130132
Note: See TracChangeset for help on using the changeset viewer.