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

Side by Side Diff: Source/core/xml/XSLImportRule.cpp

Issue 937653002: InlinedVisitor: Migrate xml to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/xml/XSLImportRule.h ('k') | Source/core/xml/XSLStyleSheet.h » ('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 * This file is part of the XSL implementation. 2 * This file is part of the XSL implementation.
3 * 3 *
4 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 request.setOriginRestriction(FetchRequest::RestrictToSameOrigin); 102 request.setOriginRestriction(FetchRequest::RestrictToSameOrigin);
103 ResourcePtr<Resource> resource = fetcher->fetchSynchronously(request); 103 ResourcePtr<Resource> resource = fetcher->fetchSynchronously(request);
104 if (!resource) 104 if (!resource)
105 return; 105 return;
106 106
107 ASSERT(!m_styleSheet); 107 ASSERT(!m_styleSheet);
108 if (SharedBuffer* data = resource->resourceBuffer()) 108 if (SharedBuffer* data = resource->resourceBuffer())
109 setXSLStyleSheet(absHref, resource->response().url(), UTF8Encoding().dec ode(data->data(), data->size())); 109 setXSLStyleSheet(absHref, resource->response().url(), UTF8Encoding().dec ode(data->data(), data->size()));
110 } 110 }
111 111
112 void XSLImportRule::trace(Visitor* visitor) 112 DEFINE_TRACE(XSLImportRule)
113 { 113 {
114 visitor->trace(m_parentStyleSheet); 114 visitor->trace(m_parentStyleSheet);
115 visitor->trace(m_styleSheet); 115 visitor->trace(m_styleSheet);
116 } 116 }
117 117
118 } // namespace blink 118 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/xml/XSLImportRule.h ('k') | Source/core/xml/XSLStyleSheet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698