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

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

Issue 22417002: Rename ASSERT_NO_EXCEPTION_STATE and IGNORE_EXCEPTION_STATE (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
« no previous file with comments | « Source/core/svg/SVGTextContentElement.cpp ('k') | Source/core/svg/animation/SVGSMILElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org> 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved.
5 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. 5 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
6 * Copyright (C) 2012 University of Szeged 6 * Copyright (C) 2012 University of Szeged
7 * Copyright (C) 2012 Renata Hodovan <reni@webkit.org> 7 * Copyright (C) 2012 Renata Hodovan <reni@webkit.org>
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 String text; 508 String text;
509 unsigned int depth = 0; 509 unsigned int depth = 0;
510 510
511 dumpInstanceTree(depth, text, m_targetElementInstance.get()); 511 dumpInstanceTree(depth, text, m_targetElementInstance.get());
512 fprintf(stderr, "\nDumping <use> instance tree:\n%s\n", text.latin1().data() ); 512 fprintf(stderr, "\nDumping <use> instance tree:\n%s\n", text.latin1().data() );
513 #endif 513 #endif
514 514
515 // Eventually dump shadow tree 515 // Eventually dump shadow tree
516 #ifdef DUMP_SHADOW_TREE 516 #ifdef DUMP_SHADOW_TREE
517 RefPtr<XMLSerializer> serializer = XMLSerializer::create(); 517 RefPtr<XMLSerializer> serializer = XMLSerializer::create();
518 String markup = serializer->serializeToString(shadowTreeRootElement, ASSERT_ NO_EXCEPTION_STATE); 518 String markup = serializer->serializeToString(shadowTreeRootElement, ASSERT_ NO_EXCEPTION);
519 fprintf(stderr, "Dumping <use> shadow tree markup:\n%s\n", markup.latin1().d ata()); 519 fprintf(stderr, "Dumping <use> shadow tree markup:\n%s\n", markup.latin1().d ata());
520 #endif 520 #endif
521 } 521 }
522 522
523 RenderObject* SVGUseElement::createRenderer(RenderStyle*) 523 RenderObject* SVGUseElement::createRenderer(RenderStyle*)
524 { 524 {
525 return new RenderSVGTransformableContainer(this); 525 return new RenderSVGTransformableContainer(this);
526 } 526 }
527 527
528 static bool isDirectReference(const Node* node) 528 static bool isDirectReference(const Node* node)
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
984 984
985 if (m_cachedDocument) 985 if (m_cachedDocument)
986 m_cachedDocument->removeClient(this); 986 m_cachedDocument->removeClient(this);
987 987
988 m_cachedDocument = cachedDocument; 988 m_cachedDocument = cachedDocument;
989 if (m_cachedDocument) 989 if (m_cachedDocument)
990 m_cachedDocument->addClient(this); 990 m_cachedDocument->addClient(this);
991 } 991 }
992 992
993 } 993 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGTextContentElement.cpp ('k') | Source/core/svg/animation/SVGSMILElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698