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

Side by Side Diff: Source/core/css/MediaQueryExp.h

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 * CSS Media Query 2 * CSS Media Query
3 * 3 *
4 * Copyright (C) 2006 Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>. 4 * Copyright (C) 2006 Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>.
5 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 5 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 bool operator==(const MediaQueryExp& other) const; 89 bool operator==(const MediaQueryExp& other) const;
90 90
91 bool isViewportDependent() const; 91 bool isViewportDependent() const;
92 92
93 String serialize() const; 93 String serialize() const;
94 94
95 PassOwnPtrWillBeRawPtr<MediaQueryExp> copy() const { return adoptPtrWillBeNo op(new MediaQueryExp(*this)); } 95 PassOwnPtrWillBeRawPtr<MediaQueryExp> copy() const { return adoptPtrWillBeNo op(new MediaQueryExp(*this)); }
96 96
97 MediaQueryExp(const MediaQueryExp& other); 97 MediaQueryExp(const MediaQueryExp& other);
98 98
99 void trace(Visitor* visitor) { } 99 DEFINE_INLINE_TRACE() { }
100 100
101 private: 101 private:
102 MediaQueryExp(const String&, const MediaQueryExpValue&); 102 MediaQueryExp(const String&, const MediaQueryExpValue&);
103 103
104 String m_mediaFeature; 104 String m_mediaFeature;
105 MediaQueryExpValue m_expValue; 105 MediaQueryExpValue m_expValue;
106 }; 106 };
107 107
108 } // namespace 108 } // namespace
109 109
110 #endif 110 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698