Changeset 93171 in webkit
- Timestamp:
- Aug 16, 2011, 3:58:26 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/platform/chromium/test_expectations.txt (modified) (2 diffs)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/css/CSSFontFaceSource.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r93170 r93171 1 2011-08-16 Joseph Pecoraro <joepeck@webkit.org> 2 3 Unreviewed, unskipping the test. 4 5 ASSERT in fast/css/custom-font-xheight.html 6 https://bugs.webkit.org/show_bug.cgi?id=66328 7 8 * platform/chromium/test_expectations.txt: 9 Test should no longer ASSERT. 10 1 11 2011-08-16 Ryosuke Niwa <rniwa@webkit.org> 2 12 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r93165 r93171 3385 3385 BUGCR83499 MAC : fast/box-shadow/box-shadow-transformed.html = PASS IMAGE+TEXT IMAGE 3386 3386 3387 BUGCR83504 WIN RELEASE: fast/css/custom-font-xheight.html = PASS TIMEOUT3387 BUGCR83504 WIN : fast/css/custom-font-xheight.html = PASS TIMEOUT 3388 3388 3389 3389 // New test from WK r87026 … … 3684 3684 BUGTONY : fast/repaint/line-flow-with-floats-in-regions.html = IMAGE+TEXT IMAGE 3685 3685 3686 // When removing, make sure to update the WIN line to apply to debug and3687 // release.3688 BUGWK66328 DEBUG : fast/css/custom-font-xheight.html = CRASH3689 3690 3686 BUGWK66338 MAC : fast/repaint/background-scaling.html = IMAGE 3691 3687 BUGWK66338 MAC : fast/repaint/scale-page-shrink.html = IMAGE -
trunk/Source/WebCore/ChangeLog
r93160 r93171 1 2011-08-16 Joseph Pecoraro <joepeck@webkit.org> 2 3 ASSERT in fast/css/custom-font-xheight.html 4 https://bugs.webkit.org/show_bug.cgi?id=66328 5 6 Reviewed by Dan Bernstein. 7 8 In r93140 the temporary font created for a remote CSS font face 9 was created without being retained. We need to protect the 10 font from being purged while we hold onto it, so add a font cache 11 purge preventer. 12 13 * css/CSSFontFaceSource.cpp: 14 (WebCore::CSSFontFaceSource::getFontData): 15 1 16 2011-08-16 Joseph Pecoraro <joepeck@webkit.org> 2 17 -
trunk/Source/WebCore/css/CSSFontFaceSource.cpp
r93140 r93171 186 186 m_loadStartTimer.startOneShot(0); 187 187 188 SimpleFontData* tempData = fontCache()->getNonRetainedLastResortFallbackFont(fontDescription); 189 fontData = adoptPtr(new SimpleFontData(tempData->platformData(), true, true)); 188 // This temporary font is not retained and should not be returned. 189 FontCachePurgePreventer fontCachePurgePreventer; 190 SimpleFontData* temporaryFont = fontCache()->getNonRetainedLastResortFallbackFont(fontDescription); 191 fontData = adoptPtr(new SimpleFontData(temporaryFont->platformData(), true, true)); 190 192 } 191 193
Note:
See TracChangeset
for help on using the changeset viewer.