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

Side by Side Diff: Source/core/css/resolver/ViewportStyleResolver.cpp

Issue 953693002: InlinedVisitor: Migrate css 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012-2013 Intel Corporation. All rights reserved. 2 * Copyright (C) 2012-2013 Intel Corporation. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 return Length(Auto); 196 return Length(Auto);
197 197
198 Length result = primitiveValue->convertToLength(CSSToLengthConversionData(do cumentStyle, fontSizes, viewportSize, 1.0f)); 198 Length result = primitiveValue->convertToLength(CSSToLengthConversionData(do cumentStyle, fontSizes, viewportSize, 1.0f));
199 if (documentStyle->hasViewportUnits()) 199 if (documentStyle->hasViewportUnits())
200 m_document->setHasViewportUnits(); 200 m_document->setHasViewportUnits();
201 documentStyle->setHasViewportUnits(documentStyleHasViewportUnits); 201 documentStyle->setHasViewportUnits(documentStyleHasViewportUnits);
202 202
203 return result; 203 return result;
204 } 204 }
205 205
206 void ViewportStyleResolver::trace(Visitor* visitor) 206 DEFINE_TRACE(ViewportStyleResolver)
207 { 207 {
208 visitor->trace(m_propertySet); 208 visitor->trace(m_propertySet);
209 visitor->trace(m_document); 209 visitor->trace(m_document);
210 } 210 }
211 211
212 } // namespace blink 212 } // namespace blink
OLDNEW
« Source/core/css/MediaQuery.cpp ('K') | « Source/core/css/resolver/ViewportStyleResolver.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698