Changeset 89340 in webkit


Ignore:
Timestamp:
Jun 20, 2011 11:56:56 PM (13 years ago)
Author:
yuzo@google.com
Message:

2011-06-20 Yuzo Fujishima <yuzo@google.com>

Reviewed by Kent Tamura.

Fix for Bug 62975 - Refactor local variable usage in CSSFontFaceSource::getFontData
https://bugs.webkit.org/show_bug.cgi?id=62975

No new tests because no behavioral changes.

  • css/CSSFontFaceSource.cpp: (WebCore::CSSFontFaceSource::getFontData): Remove one of fontData variable.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r89336 r89340  
     12011-06-20  Yuzo Fujishima  <yuzo@google.com>
     2
     3        Reviewed by Kent Tamura.
     4
     5        Fix for Bug 62975 - Refactor local variable usage in CSSFontFaceSource::getFontData
     6        https://bugs.webkit.org/show_bug.cgi?id=62975
     7
     8        No new tests because no behavioral changes.
     9
     10        * css/CSSFontFaceSource.cpp:
     11        (WebCore::CSSFontFaceSource::getFontData): Remove one of fontData variable.
     12
    1132011-06-20  Andy Estes  <aestes@apple.com>
    214
  • trunk/Source/WebCore/css/CSSFontFaceSource.cpp

    r87152 r89340  
    109109    if (!m_font) {
    110110#endif
    111         SimpleFontData* fontData = fontCache()->getCachedFontData(fontDescription, m_string);
    112 
    113111        // We're local. Just return a SimpleFontData from the normal cache.
    114         return fontData;
     112        return fontCache()->getCachedFontData(fontDescription, m_string);
    115113    }
    116114
Note: See TracChangeset for help on using the changeset viewer.