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

Side by Side Diff: Source/core/svg/SVGFontFaceElement.cpp

Issue 22043003: [oilpan] Handlify childrenChanged. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 4 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
3 * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) 2008 Apple Inc. All rights reserved. 4 * Copyright (C) 2008 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 if (rootParent->inDocument()) { 342 if (rootParent->inDocument()) {
343 m_fontElement = 0; 343 m_fontElement = 0;
344 document()->accessSVGExtensions()->unregisterSVGFontFaceElement(this); 344 document()->accessSVGExtensions()->unregisterSVGFontFaceElement(this);
345 m_fontFaceRule->mutableProperties()->parseDeclaration(emptyString(), nul lptr); 345 m_fontFaceRule->mutableProperties()->parseDeclaration(emptyString(), nul lptr);
346 346
347 document()->styleResolverChanged(DeferRecalcStyle); 347 document()->styleResolverChanged(DeferRecalcStyle);
348 } else 348 } else
349 ASSERT(!m_fontElement); 349 ASSERT(!m_fontElement);
350 } 350 }
351 351
352 void SVGFontFaceElement::childrenChanged(bool changedByParser, Node* beforeChang e, Node* afterChange, int childCountDelta) 352 void SVGFontFaceElement::childrenChanged(bool changedByParser, const Handle<Node >& beforeChange, const Handle<Node>& afterChange, int childCountDelta)
353 { 353 {
354 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil dCountDelta); 354 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil dCountDelta);
355 rebuildFontFace(); 355 rebuildFontFace();
356 } 356 }
357 357
358 } // namespace WebCore 358 } // namespace WebCore
359 359
360 #endif // ENABLE(SVG_FONTS) 360 #endif // ENABLE(SVG_FONTS)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698