Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: Source/WebCore/css/CSSFontFaceRule.cpp

Issue 8591013: Merge 99649 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/resources/gc.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/css/CSSFontFaceRule.cpp
===================================================================
--- Source/WebCore/css/CSSFontFaceRule.cpp (revision 100565)
+++ Source/WebCore/css/CSSFontFaceRule.cpp (working copy)
@@ -33,6 +33,8 @@
CSSFontFaceRule::~CSSFontFaceRule()
{
+ if (m_style)
+ m_style->setParentRule(0);
}
void CSSFontFaceRule::setDeclaration(PassRefPtr<CSSMutableStyleDeclaration> style)
« no previous file with comments | « LayoutTests/resources/gc.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698